git add stuff
44
simpla/design/js/elfinder/Changelog
Normal file
@@ -0,0 +1,44 @@
|
||||
2011-06-20 Troex Nevelin <troex@fury.scancode.ru>
|
||||
|
||||
* elFinder (1.2):
|
||||
- jQuery and UI updated
|
||||
- Python connector improvements
|
||||
- QuickLook fixed
|
||||
- CSS fixes
|
||||
- New icons from http://pixel-mixer.com/
|
||||
- New languages: Czech, Dutch, German, Greek, French, Hungarian, Italian, Japanese, Latvian
|
||||
Polish, Brazilian Portuguese, Slovak, Thai, Turkish, Vietnamese, Simplified Chinese,
|
||||
Traditional Chinese
|
||||
|
||||
|
||||
2010-03-11 Troex Nevelin <troex@fury.scancode.ru>
|
||||
|
||||
* elFinder (1.1):
|
||||
- Total rewrite from scratch.
|
||||
- New PHP connector.
|
||||
- Python connector.
|
||||
- Create/Extract archives.
|
||||
- QuickLook.
|
||||
- "Places" for favorites.
|
||||
- Background thumbnails creation.
|
||||
- Exteneded configuration options of connector and client.
|
||||
- Spanish localization.
|
||||
- JSON API description.
|
||||
- Full documentation in English, Russian and Spanish.
|
||||
- No more use of jquery plugins.
|
||||
- Website update.
|
||||
- [bugfix] All known bugs fixed.
|
||||
|
||||
|
||||
2009-11-09 Dmitry Levashov <dio@std42.ru>
|
||||
|
||||
* elFinder (1.0.1):
|
||||
- In directory tree panel added arrows to open/close directories
|
||||
without entering in.
|
||||
- Added shortcut support for copy/cut/paste/delete files and
|
||||
folders. For Mac users added Command+Backspace support.
|
||||
- Added context menu to current directory.
|
||||
- Added help.
|
||||
- [bugfix] invalid determing files/folders permissions using
|
||||
"perms" options in php connector
|
||||
|
||||
109
simpla/design/js/elfinder/README
Normal file
@@ -0,0 +1,109 @@
|
||||
_ ______ _ _
|
||||
| | ____(_) | |
|
||||
___| | |__ _ _ __ __| | ___ _ __
|
||||
/ _ \ | __| | | '_ \ / _` |/ _ \ '__|
|
||||
| __/ | | | | | | | (_| | __/ |
|
||||
\___|_|_| |_|_| |_|\__,_|\___|_|
|
||||
|
||||
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
Homepage: http://elrte.org/elfinder
|
||||
E-mail: dev@std42.ru
|
||||
|
||||
elFinder is an open-source file manager for web, written in JavaScript using
|
||||
jQuery UI. As you can see its creation is inspired by simplicity and convenience
|
||||
of Finder program used in Mac OS X operating system.
|
||||
|
||||
|
||||
Features
|
||||
========
|
||||
|
||||
* All general operations with files and folders on a remote server (copy, move,
|
||||
upload, create folder/file, rename, etc.)
|
||||
* Two types of view: list and icons
|
||||
* High performance of server and client parts
|
||||
* Multifile upload
|
||||
* Standart methods of file/group selection using mouse or keyboard
|
||||
* Context menu
|
||||
* "Hot keys" for most actions
|
||||
* Move/Copy files with Drag & Drop
|
||||
* Work with archives
|
||||
* Preview for most types of files
|
||||
* Edit text files and resize images
|
||||
* "Places" for your favorites
|
||||
* Calculate directory sizes
|
||||
* Background creation of thumbnails for image files
|
||||
* Easy to integrate with web editors (elRTE, CKEditor, TinyMCE)
|
||||
* Flexible configuration of access rights, upload file types, user interface
|
||||
and other
|
||||
* Extensibility
|
||||
* Simple client-server API based on JSON
|
||||
|
||||
|
||||
Requirements
|
||||
============
|
||||
|
||||
Client:
|
||||
* Modern browser. elFinder was tested in Firefox 3.5+, Internet Explorer 7 & 8,
|
||||
Safari 4, Opera 10 and Chrome
|
||||
Server:
|
||||
* Connector, at the moment there are connectors for PHP and Python
|
||||
* Image preview requires:
|
||||
- PHP: mogrify utility or GD/Imagick module
|
||||
- Python: PIL library
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
http://elrte.org/redmine/projects/elfinder/wiki
|
||||
|
||||
|
||||
Authors
|
||||
=======
|
||||
|
||||
JavaScript and PHP connector: Dmitry "dio" Levashov <dio@std42.ru>
|
||||
Python connector, testing, support: Troex Nevelin <troex@fury.scancode.ru>
|
||||
Design: Valentin Razumnyh
|
||||
|
||||
We hope our tools will be helpful for you.
|
||||
|
||||
|
||||
License:
|
||||
========
|
||||
|
||||
elFinder is issued under a 3-clauses BSD license.
|
||||
elFinder uses and comes with jQuery and jQuery-UI witch are issued under
|
||||
MIT and GPL licenses.
|
||||
|
||||
|
||||
This software is available under a 3-clauses BSD license:
|
||||
|
||||
Copyright (c) 2009-2011, Studio 42 Ltd.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the Studio 42 Ltd. nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY Studio 42 Ltd. ''AS IS'' AND ANY
|
||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL Studio 42 Ltd. BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
118
simpla/design/js/elfinder/README.md
Normal file
@@ -0,0 +1,118 @@
|
||||
elFinder
|
||||
========
|
||||
|
||||
<pre>
|
||||
_ ______ _ _
|
||||
| | ____(_) | |
|
||||
___| | |__ _ _ __ __| | ___ _ __
|
||||
/ _ \ | __| | | '_ \ / _` |/ _ \ '__|
|
||||
| __/ | | | | | | | (_| | __/ |
|
||||
\___|_|_| |_|_| |_|\__,_|\___|_|
|
||||
</pre>
|
||||
|
||||
elFinder is an open-source file manager for web, written in JavaScript using
|
||||
jQuery UI. Creation is inspired by simplicity and convenience of Finder program
|
||||
used in Mac OS X operating system.
|
||||
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
* All operations with files and folders on a remote server (copy, move,
|
||||
upload, create folder/file, rename, etc.)
|
||||
* High performance server beckend and light client UI
|
||||
* Multi-root support
|
||||
* Local file system, MySQL, FTP volume storage drivers
|
||||
* Background file upload with Drag & Drop HTML5 support
|
||||
* List and Icons view
|
||||
* Kayboard shortcuts
|
||||
* Standart methods of file/group selection using mouse or keyboard
|
||||
* Move/Copy files with Drag & Drop
|
||||
* Archives create/extract (zip, rar, 7z, tar, gzip, bzip2)
|
||||
* Rich context menu and toolbar
|
||||
* Quicklook, preview for common file types
|
||||
* Edit text files and images
|
||||
* "Places" for your favorites
|
||||
* Calculate directory sizes
|
||||
* Thumbnails for image files
|
||||
* Easy to integrate with web editors (elRTE, CKEditor, TinyMCE)
|
||||
* Flexible configuration of access rights, upload file types, user interface
|
||||
and other
|
||||
* Extensibility
|
||||
* Simple client-server API based on JSON
|
||||
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
### Client
|
||||
* Modern browser. elFinder was tested in Firefox 10, Internet Explorer 8+,
|
||||
Safari 5, Opera 11 and Chrome 15+
|
||||
|
||||
### Server
|
||||
* Any web server
|
||||
* PHP 5.2+ (for thumbnails - mogrify utility or GD/Imagick module)
|
||||
|
||||
|
||||
3rd party connectors
|
||||
--------------------
|
||||
* [Python](https://github.com/Studio-42/elfinder-python)
|
||||
* [Django](https://github.com/mikery/django-elfinder)
|
||||
* [Ruby/Rails](https://github.com/phallstrom/el_finder)
|
||||
* [Java Servlet](https://github.com/Studio-42/elfinder-servlet)
|
||||
* [ASP.NET Integration](http://code.google.com/p/elfinderintegration/)
|
||||
* [elFinder .Net connector](http://elfinderconnectornet.codeplex.com/)
|
||||
|
||||
|
||||
Support
|
||||
-------
|
||||
|
||||
* [Homepage](http://elfinder.org)
|
||||
* [Wiki](https://github.com/Studio-42/elFinder/wiki)
|
||||
* [Issues](https://github.com/Studio-42/elFinder/issues)
|
||||
* [Forum](http://elfinder.org/forum/)
|
||||
* <dev@std42.ru>
|
||||
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
* Chief developer: Dmitry "dio" Levashov <dio@std42.ru>
|
||||
* Maintainer: Troex Nevelin <troex@fury.scancode.ru>
|
||||
* Developers: Alexey Sukhotin <strogg@yandex.ru>, Naoki Sawada <hypweb@gmail.com>
|
||||
* Icons: [PixelMixer](http://pixelmixer.ru), [Yusuke Kamiyamane](http://p.yusukekamiyamane.com)
|
||||
|
||||
We hope our tools will be helpful for you.
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
elFinder is issued under a 3-clauses BSD license.
|
||||
|
||||
<pre>
|
||||
Copyright (c) 2009-2012, Studio 42
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the Studio 42 Ltd. nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL "STUDIO 42" BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
</pre>
|
||||
90
simpla/design/js/elfinder/connectors/php/connector.php
Normal file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
error_reporting(0); // Set E_ALL for debuging
|
||||
|
||||
if (function_exists('date_default_timezone_set')) {
|
||||
date_default_timezone_set('Europe/Moscow');
|
||||
}
|
||||
|
||||
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinder.class.php';
|
||||
|
||||
/**
|
||||
* Simple example how to use logger with elFinder
|
||||
**/
|
||||
class elFinderLogger implements elFinderILogger {
|
||||
|
||||
public function log($cmd, $ok, $context, $err='', $errorData = array()) {
|
||||
if (false != ($fp = fopen('./log.txt', 'a'))) {
|
||||
if ($ok) {
|
||||
$str = "cmd: $cmd; OK; context: ".str_replace("\n", '', var_export($context, true))."; \n";
|
||||
} else {
|
||||
$str = "cmd: $cmd; FAILED; context: ".str_replace("\n", '', var_export($context, true))."; error: $err; errorData: ".str_replace("\n", '', var_export($errorData, true))."\n";
|
||||
}
|
||||
fwrite($fp, $str);
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$opts = array(
|
||||
'root' => $_SERVER["DOCUMENT_ROOT"].'/userfiles', // path to root directory
|
||||
//'root' => '../../../../userfiles', // path to root directory
|
||||
'URL' => '/userfiles/', // root directory URL
|
||||
'rootAlias' => 'Home', // display this instead of root directory name
|
||||
//'uploadAllow' => array('images/*'),
|
||||
//'uploadDeny' => array('all'),
|
||||
//'uploadOrder' => 'deny,allow'
|
||||
// 'disabled' => array(), // list of not allowed commands
|
||||
// 'dotFiles' => false, // display dot files
|
||||
// 'dirSize' => true, // count total directories sizes
|
||||
// 'fileMode' => 0666, // new files mode
|
||||
// 'dirMode' => 0777, // new folders mode
|
||||
// 'mimeDetect' => 'internal', // files mimetypes detection method (finfo, mime_content_type, linux (file -ib), bsd (file -Ib), internal (by extensions))
|
||||
// 'uploadAllow' => array(), // mimetypes which allowed to upload
|
||||
// 'uploadDeny' => array(), // mimetypes which not allowed to upload
|
||||
// 'uploadOrder' => 'deny,allow', // order to proccess uploadAllow and uploadAllow options
|
||||
'imgLib' => 'gd', // image manipulation library (imagick, mogrify, gd)
|
||||
'tmbDir' => '.tmb', // directory name for image thumbnails. Set to "" to avoid thumbnails generation
|
||||
// 'tmbCleanProb' => 1, // how frequiently clean thumbnails dir (0 - never, 100 - every init request)
|
||||
// 'tmbAtOnce' => 5, // number of thumbnails to generate per request
|
||||
'tmbSize' => 48, // images thumbnails size (px)
|
||||
// 'fileURL' => true, // display file URL in "get info"
|
||||
// 'dateFormat' => 'j M Y H:i', // file modification date format
|
||||
// 'logger' => null, // object logger
|
||||
// 'defaults' => array( // default permisions
|
||||
// 'read' => true,
|
||||
// 'write' => true,
|
||||
// 'rm' => true
|
||||
// ),
|
||||
// 'perms' => array(), // individual folders/files permisions
|
||||
// 'debug' => true, // send debug to client
|
||||
// 'archiveMimes' => array(), // allowed archive's mimetypes to create. Leave empty for all available types.
|
||||
// 'archivers' => array() // info about archivers to use. See example below. Leave empty for auto detect
|
||||
// 'archivers' => array(
|
||||
// 'create' => array(
|
||||
// 'application/x-gzip' => array(
|
||||
// 'cmd' => 'tar',
|
||||
// 'argc' => '-czf',
|
||||
// 'ext' => 'tar.gz'
|
||||
// )
|
||||
// ),
|
||||
// 'extract' => array(
|
||||
// 'application/x-gzip' => array(
|
||||
// 'cmd' => 'tar',
|
||||
// 'argc' => '-xzf',
|
||||
// 'ext' => 'tar.gz'
|
||||
// ),
|
||||
// 'application/x-bzip2' => array(
|
||||
// 'cmd' => 'tar',
|
||||
// 'argc' => '-xjf',
|
||||
// 'ext' => 'tar.bz'
|
||||
// )
|
||||
// )
|
||||
// )
|
||||
);
|
||||
|
||||
$fm = new elFinder($opts);
|
||||
$fm->run();
|
||||
|
||||
?>
|
||||
1995
simpla/design/js/elfinder/connectors/php/elFinder.class.php
Normal file
112
simpla/design/js/elfinder/connectors/python/connector.py
Normal file
@@ -0,0 +1,112 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
|
||||
import cgi
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
import elFinder
|
||||
|
||||
# configure connector options
|
||||
opts = {
|
||||
#'root': '/home/troex/Sites/git/elfinder/files',
|
||||
'root': '../git/elfinder/files/',
|
||||
'URL': 'http://localhost:8001/~troex/git/elfinder/files',
|
||||
## other options
|
||||
'debug': True,
|
||||
'fileURL': True, # download files using connector, no direct urls to files
|
||||
# 'dirSize': True,
|
||||
# 'dotFiles': True,
|
||||
# 'perms': {
|
||||
# 'backup': {
|
||||
# 'read': True,
|
||||
# 'write': False,
|
||||
# 'rm': False
|
||||
# },
|
||||
# '^/pics': {
|
||||
# 'read': True,
|
||||
# 'write': False,
|
||||
# 'rm': False
|
||||
# }
|
||||
# },
|
||||
# 'uploadDeny': ['image', 'application'],
|
||||
# 'uploadAllow': ['image/png', 'image/jpeg'],
|
||||
# 'uploadOrder': ['deny', 'allow']
|
||||
# 'disabled': ['rename', 'quicklook', 'upload']
|
||||
}
|
||||
|
||||
# init connector and pass options
|
||||
elf = elFinder.connector(opts)
|
||||
|
||||
# fetch only needed GET/POST parameters
|
||||
httpRequest = {}
|
||||
form = cgi.FieldStorage()
|
||||
for field in elf.httpAllowedParameters:
|
||||
if field in form:
|
||||
httpRequest[field] = form.getvalue(field)
|
||||
if field == 'upload[]':
|
||||
upFiles = {}
|
||||
cgiUploadFiles = form['upload[]']
|
||||
for up in cgiUploadFiles:
|
||||
if up.filename:
|
||||
upFiles[up.filename] = up.file # pack dict(filename: filedescriptor)
|
||||
httpRequest['upload[]'] = upFiles
|
||||
|
||||
# run connector with parameters
|
||||
status, header, response = elf.run(httpRequest)
|
||||
|
||||
# get connector output and print it out
|
||||
|
||||
# code below is tested with apache only (maybe other server need other method?)
|
||||
if status == 200:
|
||||
print 'Status: 200'
|
||||
elif status == 403:
|
||||
print 'Status: 403'
|
||||
elif status == 404:
|
||||
print 'Status: 404'
|
||||
|
||||
if len(header) >= 1:
|
||||
for h, v in header.iteritems():
|
||||
print h + ': ' + v
|
||||
print
|
||||
|
||||
if not response is None and status == 200:
|
||||
# send file
|
||||
if 'file' in response and isinstance(response['file'], file):
|
||||
print response['file'].read()
|
||||
response['file'].close()
|
||||
# output json
|
||||
else:
|
||||
print json.dumps(response, indent = True)
|
||||
|
||||
|
||||
|
||||
|
||||
## logging
|
||||
#import sys
|
||||
#log = open('/home/troex/Sites/git/elfinder/files/out.log', 'w')
|
||||
#print >>log, 'FORM: ', form
|
||||
#log.close()
|
||||
|
||||
## another aproach
|
||||
## get connector output and print it out
|
||||
#if elf.httpStatusCode == 200:
|
||||
# print 'HTTP/1.1 200 OK'
|
||||
#elif elf.httpStatusCode == 403:
|
||||
# print 'HTTP/1.x 403 Access Denied'
|
||||
#elif elf.httpStatusCode == 404:
|
||||
# print 'HTTP/1.x 404 Not Found'
|
||||
#
|
||||
#if len(elf.httpHeader) >= 1:
|
||||
# for header, value in elf.httpHeader.iteritems():
|
||||
# print header + ': ' + value
|
||||
# print
|
||||
#
|
||||
#if not elf.httpResponse is None:
|
||||
# if isinstance(elf.httpResponse['file'], file):
|
||||
# print elf.httpResponse['file'].read()
|
||||
# elf.httpResponse['file'].close()
|
||||
# else:
|
||||
# print json.dumps(elf.httpResponse, indent = True)
|
||||
#
|
||||
1492
simpla/design/js/elfinder/connectors/python/elFinder.py
Normal file
836
simpla/design/js/elfinder/css/elfinder.css
Normal file
@@ -0,0 +1,836 @@
|
||||
|
||||
/* file manager window */
|
||||
|
||||
.el-finder {
|
||||
width:100%;
|
||||
min-width:400px;
|
||||
border:1px solid #ccc;
|
||||
background-color:#eee;
|
||||
font:12px trebuchet ms,lucida grande,verdana,sans-serif;
|
||||
border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
.el-finder-undocked {
|
||||
position:absolute;
|
||||
min-width:400px;
|
||||
border:1px solid #ccc;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
/* error messages */
|
||||
.el-finder-err {
|
||||
padding: 15px;
|
||||
text-align:center;
|
||||
background: #fee;
|
||||
color: #cc0509;
|
||||
border: 2px #844 solid;
|
||||
border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
/* disabled */
|
||||
.el-finder-disabled .el-finder-toolbar li,
|
||||
.el-finder-disabled .el-finder-nav,
|
||||
.el-finder-disabled .el-finder-cwd {
|
||||
opacity:0.35; filter:Alpha(Opacity=35);
|
||||
}
|
||||
|
||||
.el-finder .el-finder-droppable {
|
||||
background-color:#99ccff;
|
||||
}
|
||||
.el-finder .ui-selected {
|
||||
background-color:#ccc;
|
||||
/* background-color:#c5e4f9;*/
|
||||
}
|
||||
|
||||
.el-finder input {
|
||||
margin:0;
|
||||
padding:0;
|
||||
outline:none;
|
||||
border:1px solid #ccc;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* toolbar */
|
||||
/************************************/
|
||||
|
||||
.el-finder-toolbar ul {
|
||||
padding:5px 7px;
|
||||
margin:0;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
.el-finder-toolbar ul li {
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
vertical-align: top;
|
||||
height:22px;
|
||||
width:23px;
|
||||
margin:0 2px;
|
||||
padding:0;
|
||||
background:url('../images/toolbar.png') no-repeat;
|
||||
border:1px solid #ccc;
|
||||
border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
}
|
||||
.el-finder-toolbar ul li.delim {
|
||||
border:none;
|
||||
width:3px;
|
||||
background-position: 1px -610px;
|
||||
}
|
||||
|
||||
.el-finder-toolbar ul li.el-finder-tb-hover {
|
||||
border:1px solid #fff;
|
||||
background-color:#ccc;
|
||||
}
|
||||
|
||||
.el-finder-toolbar ul li.disabled { opacity:0.35; filter:Alpha(Opacity=35); }
|
||||
|
||||
.el-finder-toolbar ul li.back { background-position: 3px -171px; }
|
||||
.el-finder-toolbar ul li.reload { background-position: 3px -192px; }
|
||||
.el-finder-toolbar ul li.select { background-position: 3px -214px; }
|
||||
.el-finder-toolbar ul li.open { background-position: 4px -235px; }
|
||||
.el-finder-toolbar ul li.mkdir { background-position: 4px -258px; }
|
||||
.el-finder-toolbar ul li.mkfile { background-position: 4px -280px; }
|
||||
.el-finder-toolbar ul li.upload { background-position: 3px -305px; }
|
||||
.el-finder-toolbar ul li.rm { background-position: 3px -330px; }
|
||||
.el-finder-toolbar ul li.copy { background-position: 3px -356px; }
|
||||
.el-finder-toolbar ul li.paste { background-position: 3px -381px; }
|
||||
.el-finder-toolbar ul li.rename { background-position: 3px -407px; }
|
||||
.el-finder-toolbar ul li.edit { background-position: 4px -435px; }
|
||||
.el-finder-toolbar ul li.info { background-position: 3px -462px; }
|
||||
.el-finder-toolbar ul li.help { background-position: 3px -487px; }
|
||||
.el-finder-toolbar ul li.icons { background-position: 3px -537px; }
|
||||
.el-finder-toolbar ul li.list { background-position: 3px -557px; }
|
||||
.el-finder-toolbar ul li.uncompress { background-position: 3px -583px; }
|
||||
.el-finder-toolbar ul li.resize { background-position: 3px -656px; }
|
||||
.el-finder-toolbar ul li.quicklook { background-position: 3px -726px; }
|
||||
|
||||
.el-finder-dock-button {
|
||||
width:19px;
|
||||
height:19px;
|
||||
float:right;
|
||||
margin: 2px;
|
||||
border:1px solid #ccc;
|
||||
border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
background:url('../images/toolbar.png') 2px -705px no-repeat;
|
||||
}
|
||||
|
||||
.ui-dialog .el-finder-dock-button {
|
||||
background-position:2px -681px;
|
||||
}
|
||||
|
||||
.el-finder-dock-button-hover {
|
||||
background-color:#ccc;
|
||||
border:1px solid #fff;
|
||||
}
|
||||
|
||||
/**********************************************************/
|
||||
/* workzone, container for navigation and current folder */
|
||||
/**********************************************************/
|
||||
|
||||
.el-finder-workzone {
|
||||
background-color:#fff;
|
||||
border-top:1px solid #ccc;
|
||||
border-bottom:1px solid #ccc;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
.el-finder-spinner {
|
||||
position:absolute;
|
||||
top:37%;
|
||||
left:37%;
|
||||
width:250px;
|
||||
height:50px;
|
||||
background:transparent url(../images/spinner.gif) 50% 50% no-repeat;
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* error in workzone */
|
||||
.el-finder-workzone p.el-finder-err {
|
||||
display:none;
|
||||
position:absolute;
|
||||
left:37%;
|
||||
top:20px;
|
||||
}
|
||||
|
||||
/* navigation and current directory */
|
||||
.el-finder-nav, .el-finder-cwd {
|
||||
height:350px;
|
||||
overflow:auto;
|
||||
padding:3px 1px;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* navigation */
|
||||
/************************************/
|
||||
|
||||
.el-finder-nav {
|
||||
float:left;
|
||||
width : 200px;
|
||||
background:#fff;
|
||||
}
|
||||
|
||||
.el-finder-nav .ui-resizable-e {
|
||||
right:0;
|
||||
}
|
||||
|
||||
/* folders tree */
|
||||
.el-finder-nav ul {
|
||||
list-style:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.el-finder-nav ul li {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
ul.el-finder-tree, ul.el-finder-places {
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
.el-finder-nav ul li ul {
|
||||
margin-left:12px;
|
||||
}
|
||||
|
||||
.el-finder-nav ul div {
|
||||
width:12px;
|
||||
height:20px;
|
||||
float:left;
|
||||
margin-right:23px;
|
||||
}
|
||||
|
||||
.el-finder-nav a, .el-finder-nav div.collapsed {
|
||||
background-image:url(../images/toolbar.png);
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
.el-finder-nav div.collapsed {
|
||||
background-position: -1px 7px;
|
||||
}
|
||||
.el-finder-nav div.expanded {
|
||||
background-position: -1px -9px;
|
||||
}
|
||||
|
||||
.el-finder-nav a {
|
||||
display: block;
|
||||
white-space:nowrap;
|
||||
line-height:20px;
|
||||
color:#444;
|
||||
cursor:default;
|
||||
text-decoration:none;
|
||||
outline:none;
|
||||
border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
background-position: 15px -56px;
|
||||
}
|
||||
|
||||
.el-finder-nav a.dropbox {
|
||||
background-position: 15px -80px;
|
||||
}
|
||||
.el-finder-nav a.readonly {
|
||||
background-position: 15px -104px;
|
||||
}
|
||||
.el-finder-nav a.noaccess {
|
||||
background-position: 15px -750px;
|
||||
}
|
||||
|
||||
.el-finder-nav a.selected {
|
||||
/* background-color:#ccc;*/
|
||||
background-color:#c5e4f9;
|
||||
background-position: 15px -128px;
|
||||
}
|
||||
|
||||
.el-finder-nav a.el-finder-tree-root {
|
||||
background-position: 15px -30px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.el-finder-nav a.el-finder-places-root {
|
||||
background-position: 15px -152px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.el-finder-nav ul.el-finder-tree .el-finder-droppable {
|
||||
background-position: 15px -237px;
|
||||
}
|
||||
|
||||
|
||||
/***********************************/
|
||||
/* current working directory */
|
||||
/************************************/
|
||||
|
||||
.el-finder-cwd {
|
||||
border-left:1px solid #ccc;
|
||||
padding:3px;
|
||||
}
|
||||
|
||||
/********** view: icons ************/
|
||||
.el-finder-cwd div {
|
||||
width: 81px;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
margin:0 3px 3px 0;
|
||||
padding:1px 0;
|
||||
text-align:center;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
color:#000;
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
|
||||
.el-finder-cwd p,
|
||||
.el-finder-ql p {
|
||||
width:48px;
|
||||
height:48px;
|
||||
margin:1px auto;
|
||||
padding:0;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
background: url('../images/icons-big.png') -1px 1px no-repeat;
|
||||
}
|
||||
|
||||
/* mimetypes */
|
||||
|
||||
.directory p { background-position: 0 -50px; }
|
||||
.application p,.x-java p { background-position: -1px -150px; }
|
||||
.audio p { background-position: -1px -300px; }
|
||||
.image p { background-position: -1px -250px; }
|
||||
.text p, .x-empty p { background-position: -1px -200px; }
|
||||
.video p { background-position: -1px -350px; }
|
||||
.vnd-adobe-photoshop p, .postscript p { background-position: 0 -250px; }
|
||||
/* texts */
|
||||
.rtf p, .rtfd p { background-position: 0 -400px; }
|
||||
.html p { background-position: 0 -550px; }
|
||||
.css p { background-position: 0 -600px; }
|
||||
.javascript p, .x-javascript p { background-position: 0 -650px; }
|
||||
.x-perl p { background-position: 0 -700px; }
|
||||
.x-python p { background-position: 0 -750px; }
|
||||
.x-ruby p { background-position: 0 -800px; }
|
||||
.x-sh p, .x-shellscript p { background-position: 0 -850px; }
|
||||
.x-c p, .x-java-source p { background-position: 0 -900px; }
|
||||
.x-php p { background-position: 0 -950px; }
|
||||
.xml p { background-position: 0 -1000px; }
|
||||
/* applications */
|
||||
.vnd-ms-office p,
|
||||
.msword p,
|
||||
.vnd-ms-word p,
|
||||
.vnd-oasis-opendocument-text p,
|
||||
.ms-excel p,
|
||||
.vnd-ms-excel p,
|
||||
.vnd-oasis-opendocument-spreadsheet p,
|
||||
.vnd-ms-powerpoint p,
|
||||
.vnd-oasis-opendocument-presentation p { background-position: 0 -500px; }
|
||||
.pdf p { background-position: 0 -450px; }
|
||||
.x-shockwave-flash p { background-position: 0 -1250px; }
|
||||
/* archives */
|
||||
.zip p, .x-7z-compressed p { background-position: 0 -1050px; }
|
||||
.x-gzip p, .x-tar p { background-position: 0 -1100px; }
|
||||
.x-bzip p, .x-bzip2 p { background-position: 0 -1150px; }
|
||||
.x-rar p, .x-rar-compressed p { background-position: 0 -1200px; }
|
||||
|
||||
|
||||
.el-finder-cwd div.el-finder-droppable p {
|
||||
background-position: 0 -98px;
|
||||
}
|
||||
|
||||
.el-finder-cwd label {
|
||||
display:block;
|
||||
font-size:11px;
|
||||
line-height:13px;
|
||||
padding:0 1px;
|
||||
margin:0;
|
||||
height:25px;
|
||||
overflow:hidden;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
.el-finder-cwd div input {
|
||||
background:#fff;
|
||||
color:#000;
|
||||
width:81px;
|
||||
margin-left:-2px;
|
||||
outline:none;
|
||||
border:1px solid #ccc;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.el-finder-cwd div em {
|
||||
float:left;
|
||||
margin-top:-40px;
|
||||
margin-left:9px;
|
||||
width:15px;
|
||||
height:16px;
|
||||
background:url(../images/icons-big.png) -17px -1310px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-cwd div em.dropbox {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: 0 -1308px;
|
||||
}
|
||||
.el-finder-cwd div em.noread {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: 0 -1310px;
|
||||
}
|
||||
.el-finder-cwd div em.readonly {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: -34px -1306px;
|
||||
}
|
||||
|
||||
.el-finder-cwd div em.noaccess {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: 0 -1430px;
|
||||
}
|
||||
|
||||
/********** view: list ************/
|
||||
|
||||
.el-finder-cwd table {
|
||||
width:100%;
|
||||
/* *width:99%;*/
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
border:1px solid #ccc;
|
||||
border-top:0 solid;
|
||||
border-left:0 solid;
|
||||
margin:-3px -3px;
|
||||
}
|
||||
|
||||
.el-finder-cwd table tr {
|
||||
background:transparent;
|
||||
}
|
||||
|
||||
.el-finder-cwd table tr.el-finder-row-odd {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.el-finder-cwd table tr.ui-selected {
|
||||
background-color:#ccc;
|
||||
}
|
||||
|
||||
.el-finder-cwd table th,
|
||||
.el-finder-cwd table td {
|
||||
padding:3px 5px;
|
||||
border-left:1px solid #ccc;
|
||||
cursor:default;
|
||||
white-space:nowrap;
|
||||
color:#000;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-cwd table th {
|
||||
text-align:left;
|
||||
background:#fbf9ee;
|
||||
font-size:.86em;
|
||||
}
|
||||
|
||||
.el-finder-cwd table td.icon {
|
||||
width:24px;
|
||||
}
|
||||
|
||||
.el-finder-cwd table p {
|
||||
width:24px;
|
||||
height:16px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
background:url(../images/icons-small.png) 4px 0 no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-cwd table .size {
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
tr.directory p { background-position:4px -16px; }
|
||||
tr.text p { background-position:5px -34px; }
|
||||
tr.image p { background-position:4px -51px; }
|
||||
tr.audio p { background-position:4px -70px; }
|
||||
tr.video p { background-position:5px -89px; }
|
||||
tr.application p { background-position:4px -108px; }
|
||||
/* text */
|
||||
tr.html p { background-position:5px -188px; }
|
||||
tr.javascript p,
|
||||
tr.x-javascript p,
|
||||
tr.css p,
|
||||
tr.x-sql p,
|
||||
tr.xml p,
|
||||
tr.x-python p,
|
||||
tr.x-java-source p,
|
||||
tr.x-perl p,
|
||||
tr.x-ruby p { background-position:5px -228px; }
|
||||
tr.x-php p { background-position:5px -247px; }
|
||||
tr.x-c p { background-position:5px -208px; }
|
||||
tr.x-shellscript p,
|
||||
tr.x-sh p { background-position:5px -168px; }
|
||||
tr.rtf p, tr.rtfd p { background-position:5px -148px; }
|
||||
/* application */
|
||||
tr.x-shockwave-flash p { background-position:4px -266px; }
|
||||
tr.pdf p { background-position:4px -285px; }
|
||||
tr.vnd-ms-office p { background-position:4px -325px; }
|
||||
tr.msword p,
|
||||
tr.vnd-oasis-opendocument-text p,
|
||||
tr.vnd-ms-word p { background-position:4px -346px; }
|
||||
tr.vnd-ms-excel p,
|
||||
tr.ms-excel p,
|
||||
tr.vnd-oasis-opendocument-spreadsheet { background-position:4px -365px; }
|
||||
tr.vnd-ms-powerpoint p,
|
||||
tr.vnd-oasis-opendocument-presentation { background-position:4px -385px; }
|
||||
/* archives */
|
||||
tr.x-tar p,
|
||||
tr.x-gzip p,
|
||||
tr.x-bzip p,
|
||||
tr.x-bzip2 p,
|
||||
tr.zip p,
|
||||
tr.x-rar p,
|
||||
tr.x-rar-compressed p,
|
||||
tr.x-7z-compressed p { background-position:4px -305px; }
|
||||
|
||||
tr.el-finder-droppable td.icon p { background-position:5px -450px; }
|
||||
|
||||
.el-finder-cwd table td p em {
|
||||
float:left;
|
||||
width:10px;
|
||||
height:12px;
|
||||
margin-top:5px;
|
||||
background:url(../images/icons-small.png) 0px -405px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-cwd table p em.readonly { background-position:0px -433px; }
|
||||
.el-finder-cwd table p em.dropbox { background-position:0px -418px; }
|
||||
.el-finder-cwd table p em.noread,
|
||||
.el-finder-cwd table p em.noaccess { background-position:0px -470px; }
|
||||
|
||||
/************************************/
|
||||
/* statusbar */
|
||||
/************************************/
|
||||
|
||||
.el-finder-statusbar {
|
||||
height:20px;
|
||||
}
|
||||
|
||||
.el-finder-stat,
|
||||
.el-finder-path,
|
||||
.el-finder-sel {
|
||||
padding:3px 9px 1px 9px;
|
||||
font-size:11px;
|
||||
color:#555;
|
||||
}
|
||||
/* current directory path */
|
||||
.el-finder-path {
|
||||
float:left;
|
||||
}
|
||||
/* number folders/files in current directory and size */
|
||||
.el-finder-stat {
|
||||
float:right;
|
||||
}
|
||||
/* info about selected files */
|
||||
.el-finder-sel {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* dialog window */
|
||||
/************************************/
|
||||
.el-finder-dialog {
|
||||
font-size:.84em;
|
||||
}
|
||||
.el-finder-dialog form p, .el-finder-dialog .ui-tabs p {
|
||||
margin:.5em;
|
||||
}
|
||||
.el-finder-dialog .ui-dialog-titlebar {
|
||||
padding: .2em .1em .1em .8em;
|
||||
}
|
||||
.el-finder-dialog .ui-dialog-buttonpane {
|
||||
padding: .1em 1em .1em .4em;
|
||||
font-size:.9em;
|
||||
}
|
||||
.el-finder-dialog .ui-dialog-content {
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.el-finder-dialog hr {
|
||||
border:0;
|
||||
border-bottom: 1px #ccc solid;
|
||||
clear:both
|
||||
}
|
||||
.el-finder-dialog ul {
|
||||
margin-top:0;
|
||||
}
|
||||
|
||||
.el-finder-dialog kbd { font-size:1.2em;}
|
||||
.el-finder-dialog a { outline: none;}
|
||||
|
||||
.el-finder-dialog textarea {
|
||||
width:98.9%;
|
||||
height:400px;
|
||||
outline:none;
|
||||
border:1px solid #ccc;
|
||||
font-family: "Monaco", "Andale Mono", "Lucida Console", monospace;
|
||||
}
|
||||
|
||||
.ui-state-error {
|
||||
margin: 5px 0;
|
||||
padding:.5em;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.el-finder-dialog .ui-state-error .ui-icon {
|
||||
float: left;
|
||||
margin-right: .3em;
|
||||
}
|
||||
|
||||
.el-finder-add-field {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.el-finder-add-field span {
|
||||
float:left;
|
||||
margin-right:.7em;
|
||||
}
|
||||
|
||||
.el-finder-dialog table {
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
.el-finder-dialog table td {
|
||||
padding:2px 5px;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-dialog .ui-tabs {
|
||||
font-size:.98em;
|
||||
}
|
||||
|
||||
.el-finder-dialog .ui-tabs div {
|
||||
padding:0 .5em;
|
||||
}
|
||||
.el-finder-dialog .ui-tabs-nav li a {
|
||||
padding:.2em 1em;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* contextmenu */
|
||||
/************************************/
|
||||
|
||||
.el-finder-contextmenu {
|
||||
position:absolute;
|
||||
width:200px;
|
||||
background:#fff;
|
||||
color:#000;
|
||||
cursor:default;
|
||||
border:1px solid #ccc;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
padding:5px 0;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-contextmenu div {
|
||||
position:relative;
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:4px 29px 4px 29px;
|
||||
white-space:nowrap;
|
||||
font:12px trebuchet ms,lucida grande,verdana,sans-serif;
|
||||
background:url('../images/toolbar.png') 0 0 no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-contextmenu span {
|
||||
float:right;
|
||||
width:9px;
|
||||
height:18px;
|
||||
margin-right:-27px;
|
||||
background:url(../images/toolbar.png) -4px 5px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-contextmenu div.el-finder-contextmenu-sub {
|
||||
position:absolute;
|
||||
top:0;
|
||||
display:none;
|
||||
margin:0;
|
||||
padding:5px 0;
|
||||
background:#fff;
|
||||
border:1px solid #ccc;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
|
||||
.el-finder-contextmenu div.reload { background-position: 5px -192px; }
|
||||
.el-finder-contextmenu div.select { background-position: 5px -214px; }
|
||||
.el-finder-contextmenu div.open { background-position: 6px -235px; }
|
||||
.el-finder-contextmenu div.mkdir { background-position: 6px -258px; }
|
||||
.el-finder-contextmenu div.mkfile { background-position: 6px -280px; }
|
||||
.el-finder-contextmenu div.upload { background-position: 5px -305px; }
|
||||
.el-finder-contextmenu div.rm { background-position: 5px -330px; }
|
||||
.el-finder-contextmenu div.copy { background-position: 5px -356px; }
|
||||
.el-finder-contextmenu div.cut { background-position: 5px -631px; }
|
||||
.el-finder-contextmenu div.duplicate { background-position: 5px -356px; }
|
||||
.el-finder-contextmenu div.paste { background-position: 5px -381px; }
|
||||
.el-finder-contextmenu div.rename { background-position: 5px -407px; }
|
||||
.el-finder-contextmenu div.edit { background-position: 6px -435px; }
|
||||
.el-finder-contextmenu div.info { background-position: 5px -462px; }
|
||||
.el-finder-contextmenu div.help { background-position: 5px -487px; }
|
||||
.el-finder-contextmenu div.icons { background-position: 5px -537px; }
|
||||
.el-finder-contextmenu div.list { background-position: 5px -557px; }
|
||||
.el-finder-contextmenu div.archive { background-position: 5px -583px; }
|
||||
.el-finder-contextmenu div.extract { background-position: 5px -583px; }
|
||||
.el-finder-contextmenu div.resize { background-position: 5px -655px; }
|
||||
.el-finder-contextmenu div.quicklook { background-position: 5px -727px; }
|
||||
|
||||
.el-finder-contextmenu div.delim {
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:1px;
|
||||
border-top:1px solid #eee;
|
||||
background:transparent;
|
||||
display:block;
|
||||
}
|
||||
.el-finder-contextmenu div.hover { background-color:#99ccff; }
|
||||
|
||||
.el-finder-places {
|
||||
margin-top:.5em;
|
||||
}
|
||||
|
||||
|
||||
.el-finder-drag-helper {
|
||||
padding:0;
|
||||
cursor:move;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.el-finder-drag-helper div {
|
||||
border:0 solid;
|
||||
margin-left:-57px;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-drag-copy {
|
||||
background:url('../images/toolbar.png') 0 -771px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-drag-helper label {
|
||||
border:1px solid #ccc;
|
||||
background-color:#eee;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
|
||||
/************************************/
|
||||
/* QuickLook */
|
||||
/************************************/
|
||||
|
||||
.el-finder-ql {
|
||||
position:absolute;
|
||||
width:420px;
|
||||
height:auto;
|
||||
padding:12px 9px;
|
||||
text-align:center;
|
||||
border-radius:9px;
|
||||
-moz-border-radius:9px;
|
||||
-webkit-border-radius:9px;
|
||||
background:url(../images/ql.png);
|
||||
overflow: inherit !important;
|
||||
}
|
||||
|
||||
.el-finder-ql.directory p { background-position: 0 -50px; }
|
||||
|
||||
/* toolbar */
|
||||
.el-finder-ql div.el-finder-ql-drag-handle {
|
||||
height:18px;
|
||||
font-size:14px;
|
||||
background-color:#777;
|
||||
margin:-12px -9px 12px -9px;
|
||||
padding:3px 0 0 19px;
|
||||
opacity:.8;
|
||||
text-align:center;
|
||||
white-space: nowrap;
|
||||
overflow:hidden;
|
||||
-moz-border-radius-topleft:9px;
|
||||
-moz-border-radius-topright:9px;
|
||||
-webkit-border-top-left-radius: 9px;
|
||||
-webkit-border-top-right-radius: 9px;
|
||||
border-top-left-radius: 9px;
|
||||
border-top-right-radius: 9px;
|
||||
}
|
||||
/* close button */
|
||||
.el-finder-ql div.el-finder-ql-drag-handle span {
|
||||
float:left;
|
||||
margin:0 19px 0 -15px;
|
||||
}
|
||||
/* title in tolbar */
|
||||
.el-finder-ql div.el-finder-ql-drag-handle strong {
|
||||
line-height:18px;
|
||||
margin-left:-17px;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.el-finder-ql div.el-finder-ql-media {
|
||||
width:100%;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.el-finder-ql div.el-finder-ql-content {
|
||||
width:100%;
|
||||
font:.82em/1.3em trebuchet ms,lucida grande,verdana,sans-serif;
|
||||
padding:5px 0;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.el-finder-ql div.el-finder-ql-content span,
|
||||
.el-finder-ql div.el-finder-ql-content a {
|
||||
display:block;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* text files preview */
|
||||
.el-finder-ql iframe {
|
||||
background:#fff;
|
||||
width:100%;
|
||||
height:315px;
|
||||
padding:0;
|
||||
margin:0;
|
||||
border:none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
|
||||
/* images preview */
|
||||
.el-finder-ql img {
|
||||
margin:0 auto;
|
||||
border:1px solid #fff;
|
||||
}
|
||||
|
||||
/* button help */
|
||||
.el-finder-help-std {
|
||||
background: url(../images/icons-big.png) 0 -1380px no-repeat;
|
||||
width:48px;
|
||||
height:48px;
|
||||
float:right;
|
||||
}
|
||||
|
||||
.el-finder-logo {
|
||||
background: url(../images/icons-big.png) 0 -1329px no-repeat;
|
||||
width:48px;
|
||||
height:48px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.el-finder-ql .ui-resizable-e, .el-finder-ql .ui-resizable-s { background:transparent !important;}
|
||||
9
simpla/design/js/elfinder/css/elfinder.min.css
vendored
Normal file
|
After Width: | Height: | Size: 180 B |
|
After Width: | Height: | Size: 178 B |
|
After Width: | Height: | Size: 120 B |
|
After Width: | Height: | Size: 105 B |
|
After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 110 B |
|
After Width: | Height: | Size: 119 B |
|
After Width: | Height: | Size: 101 B |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
578
simpla/design/js/elfinder/css/smoothness/jquery-ui-1.8.13.custom.css
vendored
Normal file
@@ -0,0 +1,578 @@
|
||||
/*
|
||||
* jQuery UI CSS Framework 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*/
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden { display: none; }
|
||||
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
||||
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
||||
.ui-helper-clearfix { display: inline-block; }
|
||||
/* required comment for clearfix to work in Opera \*/
|
||||
* html .ui-helper-clearfix { height:1%; }
|
||||
.ui-helper-clearfix { display:block; }
|
||||
/* end clearfix */
|
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled { cursor: default !important; }
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
||||
|
||||
|
||||
/*
|
||||
* jQuery UI CSS Framework 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
||||
*/
|
||||
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
||||
.ui-widget .ui-widget { font-size: 1em; }
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
||||
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
|
||||
.ui-widget-content a { color: #222222; }
|
||||
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
|
||||
.ui-widget-header a { color: #222222; }
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
|
||||
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
||||
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
||||
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
|
||||
.ui-widget :active { outline: none; }
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
|
||||
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
||||
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
|
||||
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
|
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
||||
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
||||
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
|
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-off { background-position: -96px -144px; }
|
||||
.ui-icon-radio-on { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
||||
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
||||
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
||||
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
||||
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
||||
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
||||
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
||||
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
||||
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
||||
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
|
||||
* jQuery UI Resizable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Resizable#theming
|
||||
*/
|
||||
.ui-resizable { position: relative;}
|
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;
|
||||
/* http://bugs.jqueryui.com/ticket/7233
|
||||
- Resizable: resizable handles fail to work in IE if transparent and content overlaps
|
||||
*/
|
||||
background-image:url(data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=);
|
||||
}
|
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
|
||||
* jQuery UI Selectable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Selectable#theming
|
||||
*/
|
||||
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
||||
/*
|
||||
* jQuery UI Accordion 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Accordion#theming
|
||||
*/
|
||||
/* IE/Win - Fix animation bug - #4615 */
|
||||
.ui-accordion { width: 100%; }
|
||||
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
||||
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
||||
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
||||
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-content-active { display: block; }
|
||||
/*
|
||||
* jQuery UI Autocomplete 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Autocomplete#theming
|
||||
*/
|
||||
.ui-autocomplete { position: absolute; cursor: default; }
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
|
||||
/*
|
||||
* jQuery UI Menu 1.8.13
|
||||
*
|
||||
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Menu#theming
|
||||
*/
|
||||
.ui-menu {
|
||||
list-style:none;
|
||||
padding: 2px;
|
||||
margin: 0;
|
||||
display:block;
|
||||
float: left;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
margin-top: -3px;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin:0;
|
||||
padding: 0;
|
||||
zoom: 1;
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
.ui-menu .ui-menu-item a {
|
||||
text-decoration:none;
|
||||
display:block;
|
||||
padding:.2em .4em;
|
||||
line-height:1.5;
|
||||
zoom:1;
|
||||
}
|
||||
.ui-menu .ui-menu-item a.ui-state-hover,
|
||||
.ui-menu .ui-menu-item a.ui-state-active {
|
||||
font-weight: normal;
|
||||
margin: -1px;
|
||||
}
|
||||
/*
|
||||
* jQuery UI Button 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Button#theming
|
||||
*/
|
||||
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
||||
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
||||
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
||||
.ui-button-icons-only { width: 3.4em; }
|
||||
button.ui-button-icons-only { width: 3.7em; }
|
||||
|
||||
/*button text element */
|
||||
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
||||
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
||||
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
||||
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
||||
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
||||
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
||||
/* no icon support for input elements, provide padding by default */
|
||||
input.ui-button { padding: .4em 1em; }
|
||||
|
||||
/*button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
||||
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
||||
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
||||
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
|
||||
/*button sets*/
|
||||
.ui-buttonset { margin-right: 7px; }
|
||||
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
||||
|
||||
/* workarounds */
|
||||
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
||||
/*
|
||||
* jQuery UI Dialog 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog#theming
|
||||
*/
|
||||
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
||||
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
||||
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
||||
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
||||
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
||||
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
||||
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
||||
/*
|
||||
* jQuery UI Slider 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Slider#theming
|
||||
*/
|
||||
.ui-slider { position: relative; text-align: left; }
|
||||
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
||||
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
||||
|
||||
.ui-slider-horizontal { height: .8em; }
|
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
||||
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
||||
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
||||
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100px; }
|
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
||||
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
||||
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
||||
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
||||
* jQuery UI Tabs 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Tabs#theming
|
||||
*/
|
||||
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
||||
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
||||
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
||||
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
||||
.ui-tabs .ui-tabs-hide { display: none !important; }
|
||||
/*
|
||||
* jQuery UI Datepicker 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Datepicker#theming
|
||||
*/
|
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
||||
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
||||
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
||||
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
||||
.ui-datepicker .ui-datepicker-next { right:2px; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
||||
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
||||
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
||||
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
||||
.ui-datepicker td { border: 0; padding: 1px; }
|
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
||||
.ui-datepicker-row-break { clear:both; width:100%; }
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl { direction: rtl; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
||||
.ui-datepicker-cover {
|
||||
display: none; /*sorry for IE5*/
|
||||
display/**/: block; /*sorry for IE5*/
|
||||
position: absolute; /*must have*/
|
||||
z-index: -1; /*must have*/
|
||||
filter: mask(); /*must have*/
|
||||
top: -4px; /*must have*/
|
||||
left: -4px; /*must have*/
|
||||
width: 200px; /*must have*/
|
||||
height: 200px; /*must have*/
|
||||
}/*
|
||||
* jQuery UI Progressbar 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Progressbar#theming
|
||||
*/
|
||||
.ui-progressbar { height:2em; text-align: left; }
|
||||
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
|
||||
49
simpla/design/js/elfinder/css/theme.css
Normal file
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* MacOS X like theme for elFinder.
|
||||
* Required jquery ui "smoothness" theme.
|
||||
*
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
|
||||
/* dialogs */
|
||||
.std42-dialog, .std42-dialog .ui-widget-content { background-color:#ededed; background-image:none; background-clip: content-box; }
|
||||
|
||||
/* navbar */
|
||||
.elfinder .elfinder-navbar { background:#dde4eb; }
|
||||
.elfinder-navbar .ui-state-hover { background:transparent; border-color:transparent; }
|
||||
.elfinder-navbar .ui-state-active { background: #3875d7; border-color:#3875d7; color:#fff; }
|
||||
/* disabled elfinder */
|
||||
.elfinder-disabled .elfinder-navbar .ui-state-active { background: #dadada; border-color:#aaa; color:#fff; }
|
||||
|
||||
|
||||
/* current directory */
|
||||
/* selected file in "icons" view */
|
||||
.elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-hover { background:#ccc; }
|
||||
/* list view*/
|
||||
.elfinder-cwd table tr:nth-child(odd) { background-color:#edf3fe; }
|
||||
.elfinder-cwd table tr { border-top:1px solid #fff; }
|
||||
|
||||
/* common selected background/color */
|
||||
.elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
|
||||
.elfinder-cwd table td.ui-state-hover,
|
||||
.elfinder-button-menu .ui-state-hover { background: #3875d7; color:#fff;}
|
||||
/* disabled elfinder */
|
||||
.elfinder-disabled .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
|
||||
.elfinder-disabled .elfinder-cwd table td.ui-state-hover { background:#dadada;}
|
||||
|
||||
/* statusbar */
|
||||
.elfinder .elfinder-statusbar { color:#555; }
|
||||
.elfinder .elfinder-statusbar a { text-decoration:none; color:#555;}
|
||||
|
||||
|
||||
.std42-dialog .elfinder-help, .std42-dialog .elfinder-help .ui-widget-content { background:#fff;}
|
||||
|
||||
/* contextmenu */
|
||||
.elfinder-contextmenu .ui-state-hover { background: #3875d7; color:#fff; }
|
||||
.elfinder-contextmenu .ui-state-hover .elfinder-contextmenu-arrow { background-image:url('../img/arrows-active.png'); }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
59
simpla/design/js/elfinder/elfinder.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?
|
||||
@session_start();
|
||||
if(!isset($_SESSION['admin'])) die('boo boo');
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>elFinder 2.0</title>
|
||||
|
||||
<!-- jQuery and jQuery UI (REQUIRED) -->
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css">
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
|
||||
|
||||
<!-- elFinder CSS (REQUIRED) -->
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="css/elfinder.min.css">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="css/theme.css">
|
||||
|
||||
<!-- elFinder JS (REQUIRED) -->
|
||||
<script type="text/javascript" src="js/elfinder.min.js"></script>
|
||||
|
||||
<!-- elFinder translation (OPTIONAL) -->
|
||||
<script type="text/javascript" src="js/i18n/elfinder.ru.js"></script>
|
||||
|
||||
<!-- elFinder initialization (REQUIRED) -->
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
// Helper function to get parameters from the query string.
|
||||
function getUrlParam(paramName) {
|
||||
var reParam = new RegExp('(?:[\?&]|&)' + paramName + '=([^&]+)', 'i') ;
|
||||
var match = window.location.search.match(reParam) ;
|
||||
|
||||
return (match && match.length > 1) ? match[1] : '' ;
|
||||
}
|
||||
|
||||
$().ready(function() {
|
||||
var funcNum = getUrlParam('CKEditorFuncNum');
|
||||
|
||||
var elf = $('#elfinder').elfinder({
|
||||
url : 'php/connector.php',
|
||||
lang: 'ru',
|
||||
getFileCallback : function(file) {
|
||||
window.opener.CKEDITOR.tools.callFunction(funcNum, file);
|
||||
window.close();
|
||||
},
|
||||
resizable: false
|
||||
}).elfinder('instance');
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Element where elFinder will be created (REQUIRED) -->
|
||||
<div id="elfinder"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
simpla/design/js/elfinder/images/icons-big.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
simpla/design/js/elfinder/images/icons-small.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
simpla/design/js/elfinder/images/ql.png
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
simpla/design/js/elfinder/images/spinner.gif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
simpla/design/js/elfinder/images/toolbar.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
simpla/design/js/elfinder/img/arrows-active.png
Normal file
|
After Width: | Height: | Size: 201 B |
BIN
simpla/design/js/elfinder/img/arrows-normal.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
simpla/design/js/elfinder/img/crop.gif
Normal file
|
After Width: | Height: | Size: 329 B |
BIN
simpla/design/js/elfinder/img/dialogs.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
simpla/design/js/elfinder/img/icons-big.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
simpla/design/js/elfinder/img/icons-small.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
simpla/design/js/elfinder/img/logo.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
simpla/design/js/elfinder/img/progress.gif
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
simpla/design/js/elfinder/img/quicklook-bg.png
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
simpla/design/js/elfinder/img/quicklook-icons.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
simpla/design/js/elfinder/img/resize.png
Normal file
|
After Width: | Height: | Size: 101 B |
BIN
simpla/design/js/elfinder/img/spinner-mini.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
simpla/design/js/elfinder/img/toolbar.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
3339
simpla/design/js/elfinder/js/elfinder.full.js
Normal file
25
simpla/design/js/elfinder/js/elfinder.min.js
vendored
Normal file
348
simpla/design/js/elfinder/js/i18n/elfinder.LANG.js
Normal file
@@ -0,0 +1,348 @@
|
||||
/**
|
||||
* elFinder translation template
|
||||
* use this file to create new translation
|
||||
* submit new translation via https://github.com/Studio-42/elFinder/issues
|
||||
* or make a pull request
|
||||
*/
|
||||
|
||||
/**
|
||||
* XXXXX translation
|
||||
* @author Translator Name <translator@email.tld>
|
||||
* @version 201x-xx-xx
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.REPLACE_WITH_xx_OR_xx_YY_LANG_CODE = {
|
||||
translator : 'Translator name <translator@email.tld>',
|
||||
language : 'Language of translation in your language',
|
||||
direction : 'ltr',
|
||||
dateFormat : 'd.m.Y H:i',
|
||||
fancyDateFormat : '$1 H:i',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'Error',
|
||||
'errUnknown' : 'Unknown error.',
|
||||
'errUnknownCmd' : 'Unknown command.',
|
||||
'errJqui' : 'Invalid jQuery UI configuration. Selectable, draggable and droppable components must be included.',
|
||||
'errNode' : 'elFinder requires DOM Element to be created.',
|
||||
'errURL' : 'Invalid elFinder configuration! URL option is not set.',
|
||||
'errAccess' : 'Access denied.',
|
||||
'errConnect' : 'Unable to connect to backend.',
|
||||
'errAbort' : 'Connection aborted.',
|
||||
'errTimeout' : 'Connection timeout.',
|
||||
'errNotFound' : 'Backend not found.',
|
||||
'errResponse' : 'Invalid backend response.',
|
||||
'errConf' : 'Invalid backend configuration.',
|
||||
'errJSON' : 'PHP JSON module not installed.',
|
||||
'errNoVolumes' : 'Readable volumes not available.',
|
||||
'errCmdParams' : 'Invalid parameters for command "$1".',
|
||||
'errDataNotJSON' : 'Data is not JSON.',
|
||||
'errDataEmpty' : 'Data is empty.',
|
||||
'errCmdReq' : 'Backend request requires command name.',
|
||||
'errOpen' : 'Unable to open "$1".',
|
||||
'errNotFolder' : 'Object is not a folder.',
|
||||
'errNotFile' : 'Object is not a file.',
|
||||
'errRead' : 'Unable to read "$1".',
|
||||
'errWrite' : 'Unable to write into "$1".',
|
||||
'errPerm' : 'Permission denied.',
|
||||
'errLocked' : '"$1" is locked and can not be renamed, moved or removed.',
|
||||
'errExists' : 'File named "$1" already exists.',
|
||||
'errInvName' : 'Invalid file name.',
|
||||
'errFolderNotFound' : 'Folder not found.',
|
||||
'errFileNotFound' : 'File not found.',
|
||||
'errTrgFolderNotFound' : 'Target folder "$1" not found.',
|
||||
'errPopup' : 'Browser prevented opening popup window. To open file enable it in browser options.',
|
||||
'errMkdir' : 'Unable to create folder "$1".',
|
||||
'errMkfile' : 'Unable to create file "$1".',
|
||||
'errRename' : 'Unable to rename "$1".',
|
||||
'errCopyFrom' : 'Copying files from volume "$1" not allowed.',
|
||||
'errCopyTo' : 'Copying files to volume "$1" not allowed.',
|
||||
'errUploadCommon' : 'Upload error.',
|
||||
'errUpload' : 'Unable to upload "$1".',
|
||||
'errUploadNoFiles' : 'No files found for upload.',
|
||||
'errMaxSize' : 'Data exceeds the maximum allowed size.',
|
||||
'errFileMaxSize' : 'File exceeds maximum allowed size.',
|
||||
'errUploadMime' : 'File type not allowed.',
|
||||
'errUploadTransfer' : '"$1" transfer error.',
|
||||
'errSave' : 'Unable to save "$1".',
|
||||
'errCopy' : 'Unable to copy "$1".',
|
||||
'errMove' : 'Unable to move "$1".',
|
||||
'errCopyInItself' : 'Unable to copy "$1" into itself.',
|
||||
'errRm' : 'Unable to remove "$1".',
|
||||
'errExtract' : 'Unable to extract files from "$1".',
|
||||
'errArchive' : 'Unable to create archive.',
|
||||
'errArcType' : 'Unsupported archive type.',
|
||||
'errNoArchive' : 'File is not archive or has unsupported archive type.',
|
||||
'errCmdNoSupport' : 'Backend does not support this command.',
|
||||
'errReplByChild' : 'The folder “$1” can’t be replaced by an item it contains.',
|
||||
'errArcSymlinks' : 'For security reason denied to unpack archives contains symlinks.',
|
||||
'errArcMaxSize' : 'Archive files exceeds maximum allowed size.',
|
||||
'errResize' : 'Unable to resize "$1".',
|
||||
'errUsupportType' : 'Unsupported file type.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'Create archive',
|
||||
'cmdback' : 'Back',
|
||||
'cmdcopy' : 'Copy',
|
||||
'cmdcut' : 'Cut',
|
||||
'cmddownload' : 'Download',
|
||||
'cmdduplicate' : 'Duplicate',
|
||||
'cmdedit' : 'Edit file',
|
||||
'cmdextract' : 'Extract files from archive',
|
||||
'cmdforward' : 'Forward',
|
||||
'cmdgetfile' : 'Select files',
|
||||
'cmdhelp' : 'About this software',
|
||||
'cmdhome' : 'Home',
|
||||
'cmdinfo' : 'Get info',
|
||||
'cmdmkdir' : 'New folder',
|
||||
'cmdmkfile' : 'New text file',
|
||||
'cmdopen' : 'Open',
|
||||
'cmdpaste' : 'Paste',
|
||||
'cmdquicklook' : 'Preview',
|
||||
'cmdreload' : 'Reload',
|
||||
'cmdrename' : 'Rename',
|
||||
'cmdrm' : 'Delete',
|
||||
'cmdsearch' : 'Find files',
|
||||
'cmdup' : 'Go to parent directory',
|
||||
'cmdupload' : 'Upload files',
|
||||
'cmdview' : 'View',
|
||||
'cmdresize' : 'Resize image',
|
||||
'cmdsort' : 'Sort',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'Close',
|
||||
'btnSave' : 'Save',
|
||||
'btnRm' : 'Remove',
|
||||
'btnApply' : 'Apply',
|
||||
'btnCancel' : 'Cancel',
|
||||
'btnNo' : 'No',
|
||||
'btnYes' : 'Yes',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'Open folder',
|
||||
'ntffile' : 'Open file',
|
||||
'ntfreload' : 'Reload folder content',
|
||||
'ntfmkdir' : 'Creating directory',
|
||||
'ntfmkfile' : 'Creating files',
|
||||
'ntfrm' : 'Delete files',
|
||||
'ntfcopy' : 'Copy files',
|
||||
'ntfmove' : 'Move files',
|
||||
'ntfprepare' : 'Prepare to copy files',
|
||||
'ntfrename' : 'Rename files',
|
||||
'ntfupload' : 'Uploading files',
|
||||
'ntfdownload' : 'Downloading files',
|
||||
'ntfsave' : 'Save files',
|
||||
'ntfarchive' : 'Creating archive',
|
||||
'ntfextract' : 'Extracting files from archive',
|
||||
'ntfsearch' : 'Searching files',
|
||||
'ntfsmth' : 'Doing something >_<',
|
||||
'ntfloadimg' : 'Loading image',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'unknown',
|
||||
'Today' : 'Today',
|
||||
'Yesterday' : 'Yesterday',
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Apr',
|
||||
'May' : 'May',
|
||||
'Jun' : 'Jun',
|
||||
'Jul' : 'Jul',
|
||||
'Aug' : 'Aug',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Oct',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dec',
|
||||
'January' : 'January',
|
||||
'February' : 'February',
|
||||
'March' : 'March',
|
||||
'April' : 'April',
|
||||
'May' : 'May',
|
||||
'June' : 'June',
|
||||
'July' : 'July',
|
||||
'August' : 'August',
|
||||
'September' : 'September',
|
||||
'October' : 'October',
|
||||
'November' : 'November',
|
||||
'December' : 'December',
|
||||
'Sunday' : 'Sunday',
|
||||
'Monday' : 'Monday',
|
||||
'Tuesday' : 'Tuesday',
|
||||
'Wednesday' : 'Wednesday',
|
||||
'Thursday' : 'Thursday',
|
||||
'Friday' : 'Friday',
|
||||
'Saturday' : 'Saturday',
|
||||
'Sun' : 'Sun',
|
||||
'Mon' : 'Mon',
|
||||
'Tue' : 'Tue',
|
||||
'Wed' : 'Wed',
|
||||
'Thu' : 'Thu',
|
||||
'Fri' : 'Fri',
|
||||
'Sat' : 'Sat',
|
||||
/******************************** sort variants ********************************/
|
||||
'sortnameDirsFirst' : 'by name (folders first)',
|
||||
'sortkindDirsFirst' : 'by kind (folders first)',
|
||||
'sortsizeDirsFirst' : 'by size (folders first)',
|
||||
'sortdateDirsFirst' : 'by date (folders first)',
|
||||
'sortname' : 'by name',
|
||||
'sortkind' : 'by kind',
|
||||
'sortsize' : 'by size',
|
||||
'sortdate' : 'by date',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'Confirmation required',
|
||||
'confirmRm' : 'Are you sure you want to remove files?<br/>This cannot be undone!',
|
||||
'confirmRepl' : 'Replace old file with new one?',
|
||||
'apllyAll' : 'Apply to all',
|
||||
'name' : 'Name',
|
||||
'size' : 'Size',
|
||||
'perms' : 'Permissions',
|
||||
'modify' : 'Modified',
|
||||
'kind' : 'Kind',
|
||||
'read' : 'read',
|
||||
'write' : 'write',
|
||||
'noaccess' : 'no access',
|
||||
'and' : 'and',
|
||||
'unknown' : 'unknown',
|
||||
'selectall' : 'Select all files',
|
||||
'selectfiles' : 'Select file(s)',
|
||||
'selectffile' : 'Select first file',
|
||||
'selectlfile' : 'Select last file',
|
||||
'viewlist' : 'List view',
|
||||
'viewicons' : 'Icons view',
|
||||
'places' : 'Places',
|
||||
'calc' : 'Calculate',
|
||||
'path' : 'Path',
|
||||
'aliasfor' : 'Alias for',
|
||||
'locked' : 'Locked',
|
||||
'dim' : 'Dimensions',
|
||||
'files' : 'Files',
|
||||
'folders' : 'Folders',
|
||||
'items' : 'Items',
|
||||
'yes' : 'yes',
|
||||
'no' : 'no',
|
||||
'link' : 'Link',
|
||||
'searcresult' : 'Search results',
|
||||
'selected' : 'selected items',
|
||||
'about' : 'About',
|
||||
'shortcuts' : 'Shortcuts',
|
||||
'help' : 'Help',
|
||||
'webfm' : 'Web file manager',
|
||||
'ver' : 'Version',
|
||||
'protocol' : 'protocol version',
|
||||
'homepage' : 'Project home',
|
||||
'docs' : 'Documentation',
|
||||
'github' : 'Fork us on Github',
|
||||
'twitter' : 'Follow us on twitter',
|
||||
'facebook' : 'Join us on facebook',
|
||||
'team' : 'Team',
|
||||
'chiefdev' : 'chief developer',
|
||||
'developer' : 'developer',
|
||||
'contributor' : 'contributor',
|
||||
'maintainer' : 'maintainer',
|
||||
'translator' : 'translator',
|
||||
'icons' : 'Icons',
|
||||
'dontforget' : 'and don\'t forget to take your towel',
|
||||
'shortcutsof' : 'Shortcuts disabled',
|
||||
'dropFiles' : 'Drop files here',
|
||||
'or' : 'or',
|
||||
'selectForUpload' : 'Select files to upload',
|
||||
'moveFiles' : 'Move files',
|
||||
'copyFiles' : 'Copy files',
|
||||
'rmFromPlaces' : 'Remove from places',
|
||||
'untitled folder' : 'untitled folder',
|
||||
'untitled file.txt' : 'untitled file.txt',
|
||||
'aspectRatio' : 'Aspect ratio',
|
||||
'scale' : 'Scale',
|
||||
'width' : 'Width',
|
||||
'height' : 'Height',
|
||||
'mode' : 'Mode',
|
||||
'resize' : 'Resize',
|
||||
'crop' : 'Crop',
|
||||
'rotate' : 'Rotate',
|
||||
'rotate-cw' : 'Rotate 90 degrees CW',
|
||||
'rotate-ccw' : 'Rotate 90 degrees CCW',
|
||||
'degree' : 'Degree',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'Unknown',
|
||||
'kindFolder' : 'Folder',
|
||||
'kindAlias' : 'Alias',
|
||||
'kindAliasBroken' : 'Broken alias',
|
||||
// applications
|
||||
'kindApp' : 'Application',
|
||||
'kindPostscript' : 'Postscript document',
|
||||
'kindMsOffice' : 'Microsoft Office document',
|
||||
'kindMsWord' : 'Microsoft Word document',
|
||||
'kindMsExcel' : 'Microsoft Excel document',
|
||||
'kindMsPP' : 'Microsoft Powerpoint presentation',
|
||||
'kindOO' : 'Open Office document',
|
||||
'kindAppFlash' : 'Flash application',
|
||||
'kindPDF' : 'Portable Document Format (PDF)',
|
||||
'kindTorrent' : 'Bittorrent file',
|
||||
'kind7z' : '7z archive',
|
||||
'kindTAR' : 'TAR archive',
|
||||
'kindGZIP' : 'GZIP archive',
|
||||
'kindBZIP' : 'BZIP archive',
|
||||
'kindZIP' : 'ZIP archive',
|
||||
'kindRAR' : 'RAR archive',
|
||||
'kindJAR' : 'Java JAR file',
|
||||
'kindTTF' : 'True Type font',
|
||||
'kindOTF' : 'Open Type font',
|
||||
'kindRPM' : 'RPM package',
|
||||
// texts
|
||||
'kindText' : 'Text document',
|
||||
'kindTextPlain' : 'Plain text',
|
||||
'kindPHP' : 'PHP source',
|
||||
'kindCSS' : 'Cascading style sheet',
|
||||
'kindHTML' : 'HTML document',
|
||||
'kindJS' : 'Javascript source',
|
||||
'kindRTF' : 'Rich Text Format',
|
||||
'kindC' : 'C source',
|
||||
'kindCHeader' : 'C header source',
|
||||
'kindCPP' : 'C++ source',
|
||||
'kindCPPHeader' : 'C++ header source',
|
||||
'kindShell' : 'Unix shell script',
|
||||
'kindPython' : 'Python source',
|
||||
'kindJava' : 'Java source',
|
||||
'kindRuby' : 'Ruby source',
|
||||
'kindPerl' : 'Perl script',
|
||||
'kindSQL' : 'SQL source',
|
||||
'kindXML' : 'XML document',
|
||||
'kindAWK' : 'AWK source',
|
||||
'kindCSV' : 'Comma separated values',
|
||||
'kindDOCBOOK' : 'Docbook XML document',
|
||||
// images
|
||||
'kindImage' : 'Image',
|
||||
'kindBMP' : 'BMP image',
|
||||
'kindJPEG' : 'JPEG image',
|
||||
'kindGIF' : 'GIF Image',
|
||||
'kindPNG' : 'PNG Image',
|
||||
'kindTIFF' : 'TIFF image',
|
||||
'kindTGA' : 'TGA image',
|
||||
'kindPSD' : 'Adobe Photoshop image',
|
||||
'kindXBITMAP' : 'X bitmap image',
|
||||
'kindPXM' : 'Pixelmator image',
|
||||
// media
|
||||
'kindAudio' : 'Audio media',
|
||||
'kindAudioMPEG' : 'MPEG audio',
|
||||
'kindAudioMPEG4' : 'MPEG-4 audio',
|
||||
'kindAudioMIDI' : 'MIDI audio',
|
||||
'kindAudioOGG' : 'Ogg Vorbis audio',
|
||||
'kindAudioWAV' : 'WAV audio',
|
||||
'AudioPlaylist' : 'MP3 playlist',
|
||||
'kindVideo' : 'Video media',
|
||||
'kindVideoDV' : 'DV movie',
|
||||
'kindVideoMPEG' : 'MPEG movie',
|
||||
'kindVideoMPEG4' : 'MPEG-4 movie',
|
||||
'kindVideoAVI' : 'AVI movie',
|
||||
'kindVideoMOV' : 'Quick Time movie',
|
||||
'kindVideoWM' : 'Windows Media movie',
|
||||
'kindVideoFlash' : 'Flash movie',
|
||||
'kindVideoMKV' : 'Matroska movie',
|
||||
'kindVideoOGG' : 'Ogg movie'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
290
simpla/design/js/elfinder/js/i18n/elfinder.ar.js
Normal file
@@ -0,0 +1,290 @@
|
||||
/**
|
||||
* Arabic translation (Syrian Localization, it may differ if you aren't from Syria or any Country in Middle East)
|
||||
* @author Tawfek Daghistani <tawfekov@gmail.com>
|
||||
* @version 2011-07-09
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.ar = {
|
||||
translator : 'Tawfek Daghistani <tawfekov@gmail.com>',
|
||||
language : 'العربية',
|
||||
direction : 'rtl',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'خطأ',
|
||||
'errUnknown' : 'خطأ غير معروف .',
|
||||
'errUnknownCmd' : 'أمر غير معروف .',
|
||||
'errJqui' : 'إعدادات jQuery UI غير كاملة الرجاء التأكد من وجود كل من selectable, draggable and droppable',
|
||||
'errNode' : '. موجود DOM إلى عنصر elFinder تحتاج ',
|
||||
'errURL' : 'إعدادات خاطئة , عليك وضع الرابط ضمن الإعدادات',
|
||||
'errAccess' : 'وصول مرفوض .',
|
||||
'errConnect' : 'غير قادر على الاتصال بالخادم الخلفي (backend)',
|
||||
'errAbort' : 'تم فصل الإتصال',
|
||||
'errTimeout' : 'مهلة الإتصال قد إنتهت .',
|
||||
'errNotFound' : 'الخادم الخلفي غير موجود .',
|
||||
'errResponse' : 'رد غير مقبول من الخادم الخلفي',
|
||||
'errConf' : 'خطأ في الإعدادات الخاصة بالخادم الخلفي ',
|
||||
'errJSON' : 'الميزة PHP JSON module غير موجودة ',
|
||||
'errNoVolumes' : 'لا يمكن القراءة من أي من الوسائط الموجودة ',
|
||||
'errCmdParams' : 'البيانات المرسلة للأمر غير مقبولة "$1".',
|
||||
'errDataNotJSON' : 'المعلومات المرسلة ليست من نوع JSON ',
|
||||
'errDataEmpty' : 'لا يوجد معلومات مرسلة',
|
||||
'errCmdReq' : 'الخادم الخلفي يطلب وجود اسم الأمر ',
|
||||
'errOpen' : 'غير قادر على فتح "$1".',
|
||||
'errNotFolder' : 'العنصر المختار ليس مجلد',
|
||||
'errNotFile' : 'العنصر المختار ليس ملف',
|
||||
'errRead' : 'غير قادر على القراءة "$1".',
|
||||
'errWrite' : 'غير قادر على الكتابة "$1".',
|
||||
'errPerm' : 'وصول مرفوض ',
|
||||
'errLocked' : ' محمي و لا يمكن التعديل أو النقل أو إعادة التسمية"$1"',
|
||||
'errExists' : ' موجود مسبقاً "$1"',
|
||||
'errInvName' : 'الاسم مرفوض',
|
||||
'errFolderNotFound' : 'المجلد غير موجود',
|
||||
'errFileNotFound' : 'الملف غير موجود',
|
||||
'errTrgFolderNotFound' : 'الملف الهدف "$1" غير موجود ',
|
||||
'errPopup' : 'يمنعني المتصفح من إنشاء نافذة منبثقة , الرجاء تعديل الخيارات الخاصة من إعدادات المتصفح ',
|
||||
'errMkdir' : ' غير قادر على إنشاء مجلد جديد "$1".',
|
||||
'errMkfile' : ' غير قادر على إنشاء ملف جديد"$1".',
|
||||
'errRename' : 'غير قادر على إعادة تسمية ال "$1".',
|
||||
'errCopyFrom' : 'نسخ الملفات من الوسط المحدد "$1"غير مسموح.',
|
||||
'errCopyTo' : 'نسخ الملفات إلى الوسط المحدد "$1" غير مسموح .',
|
||||
'errUploadCommon' : 'خطأ أثناء عملية الرفع',
|
||||
'errUpload' : 'غير قادر على رفع "$1".',
|
||||
'errUploadNoFiles' : 'لم يتم رفع أي ملف ',
|
||||
'errMaxSize' : 'حجم البيانات أكبر من الحجم المسموح به ',
|
||||
'errFileMaxSize' : 'حجم الملف أكبر من الحجم المسموح به',
|
||||
'errUploadMime' : 'نوع ملف غير مسموح ',
|
||||
'errUploadTransfer' : '"$1" خطأ أثناء عملية النقل',
|
||||
'errSave' : 'غير قادر على الحفظ في "$1".',
|
||||
'errCopy' : 'غير قادر على النسخ إلى"$1".',
|
||||
'errMove' : 'غير قادر على القص إلى "$1".',
|
||||
'errCopyInItself' : 'غير قادر على نسخ الملف "$1" ضمن الملف نفسه.',
|
||||
'errRm' : 'غير قادر على الحذف "$1".',
|
||||
'errExtract' : 'غير قادر على استخراج الملفات من "$1".',
|
||||
'errArchive' : 'غير قادر على إنشاء ملف مضغوط',
|
||||
'errArcType' : 'نوع الملف المضغوط غير مدعومة',
|
||||
'errNoArchive' : 'هذا الملف ليس ملف مضغوط أو ذو صسغة غير مدعومة ',
|
||||
'errCmdNoSupport' : 'الخادم الخلفي لا يدعم هذا الأمر ',
|
||||
'errReplByChild' : 'The folder “$1” can’t be replaced by an item it contains.',
|
||||
'errArcSymlinks' : 'For security reason denied to unpack archives contains symlinks.',
|
||||
'errArcMaxSize' : 'Archive files exceeds maximum allowed size.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'أنشئ مجلد مضغوط',
|
||||
'cmdback' : 'الخلف',
|
||||
'cmdcopy' : 'نسخ',
|
||||
'cmdcut' : 'قص',
|
||||
'cmddownload' : 'تحميل',
|
||||
'cmdduplicate' : 'تكرار',
|
||||
'cmdedit' : 'تعديل الملف',
|
||||
'cmdextract' : 'استخراج الملفات',
|
||||
'cmdforward' : 'الأمام',
|
||||
'cmdgetfile' : 'أختيار الملفات',
|
||||
'cmdhelp' : 'عن هذا المشروع',
|
||||
'cmdhome' : 'المجلد الرئيسي',
|
||||
'cmdinfo' : 'معلومات ',
|
||||
'cmdmkdir' : 'مجلد جديد',
|
||||
'cmdmkfile' : 'ملف نصي جديد',
|
||||
'cmdopen' : 'فتح',
|
||||
'cmdpaste' : 'لصق',
|
||||
'cmdquicklook' : 'معاينة',
|
||||
'cmdreload' : 'إعادة تحميل',
|
||||
'cmdrename' : 'إعادة تسمية',
|
||||
'cmdrm' : 'حذف',
|
||||
'cmdsearch' : 'بحث عن ملفات',
|
||||
'cmdup' : 'تغيير المسار إلى مستوى أعلى',
|
||||
'cmdupload' : 'رفع ملفات',
|
||||
'cmdview' : 'عرض',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'إغلاق',
|
||||
'btnSave' : 'حفظ',
|
||||
'btnRm' : 'إزالة',
|
||||
'btnCancel' : 'إلغاء',
|
||||
'btnNo' : 'لا',
|
||||
'btnYes' : 'نعم',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'فتح مجلد',
|
||||
'ntffile' : 'فتح ملف',
|
||||
'ntfreload' : 'إعادة عرض محتويات المجلد ',
|
||||
'ntfmkdir' : 'ينشئ المجلدات',
|
||||
'ntfmkfile' : 'ينشئ الملفات',
|
||||
'ntfrm' : 'حذف الملفات',
|
||||
'ntfcopy' : 'نسخ الملفات',
|
||||
'ntfmove' : 'نقل الملفات',
|
||||
'ntfprepare' : 'تحضير لنسخ الملفات',
|
||||
'ntfrename' : 'إعادة تسمية الملفات',
|
||||
'ntfupload' : 'رفع الملفات',
|
||||
'ntfdownload' : 'تحميل الملفات',
|
||||
'ntfsave' : 'حفظ الملفات',
|
||||
'ntfarchive' : 'ينشئ ملف مضغوط',
|
||||
'ntfextract' : 'استخراج ملفات من الملف المضغوط ',
|
||||
'ntfsearch' : 'يبحث عن ملفات',
|
||||
'ntfsmth' : 'يحضر لشيء ما >_<',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'غير معلوم',
|
||||
'Today' : 'اليوم',
|
||||
'Yesterday' : 'البارحة',
|
||||
'Jan' : 'كانون الثاني',
|
||||
'Feb' : 'شباط',
|
||||
'Mar' : 'آذار',
|
||||
'Apr' : 'نيسان',
|
||||
'May' : 'أيار',
|
||||
'Jun' : 'حزيران',
|
||||
'Jul' : 'تموز',
|
||||
'Aug' : 'آب',
|
||||
'Sep' : 'أيلول',
|
||||
'Oct' : 'تشرين الأول',
|
||||
'Nov' : 'تشرين الثاني',
|
||||
'Dec' : 'كانون الأول ',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'يرجى التأكيد',
|
||||
'confirmRm' : 'هل انت متأكد من انك تريد الحذف<br/>لا يمكن التراجع عن هذه العملية ',
|
||||
'confirmRepl' : 'استبدال الملف القديم بملف جديد ؟',
|
||||
'apllyAll' : 'تطبيق على الكل',
|
||||
'name' : 'الأسم',
|
||||
'size' : 'الحجم',
|
||||
'perms' : 'الصلاحيات',
|
||||
'modify' : 'أخر تعديل',
|
||||
'kind' : 'نوع الملف',
|
||||
'read' : 'قراءة',
|
||||
'write' : 'كتابة',
|
||||
'noaccess' : 'وصول ممنوع',
|
||||
'and' : 'و',
|
||||
'unknown' : 'غير معروف',
|
||||
'selectall' : 'تحديد كل الملفات',
|
||||
'selectfiles' : 'تحديد ملفات',
|
||||
'selectffile' : 'تحديد الملف الاول',
|
||||
'selectlfile' : 'تحديد الملف الأخير',
|
||||
'viewlist' : 'اعرض ك قائمة',
|
||||
'viewicons' : 'اعرض ك ايقونات',
|
||||
'places' : 'المواقع',
|
||||
'calc' : 'حساب',
|
||||
'path' : 'مسار',
|
||||
'aliasfor' : 'Alias for',
|
||||
'locked' : 'مقفول',
|
||||
'dim' : 'الابعاد',
|
||||
'files' : 'ملفات',
|
||||
'folders' : 'مجلدات',
|
||||
'items' : 'عناصر',
|
||||
'yes' : 'نعم',
|
||||
'no' : 'لا',
|
||||
'link' : 'اربتاط',
|
||||
'searcresult' : 'نتائج البحث',
|
||||
'selected' : 'العناصر المحددة',
|
||||
'about' : 'عن البرنامج',
|
||||
'shortcuts' : 'الاختصارات',
|
||||
'help' : 'مساعدة',
|
||||
'webfm' : 'مدير ملفات الويب',
|
||||
'ver' : 'رقم الإصدار',
|
||||
'protocol' : 'اصدار البرتوكول',
|
||||
'homepage' : 'الصفحة الرئيسية',
|
||||
'docs' : 'التعليمات',
|
||||
'github' : 'شاركنا بتطوير المشروع على Github',
|
||||
'twitter' : 'تابعنا على تويتر',
|
||||
'facebook' : 'انضم إلينا على الفيس بوك',
|
||||
'team' : 'الفريق',
|
||||
'chiefdev' : 'رئيس المبرمجين',
|
||||
'developer' : 'مبرمح',
|
||||
'contributor' : 'مبرمح',
|
||||
'maintainer' : 'مشارك',
|
||||
'translator' : 'مترجم',
|
||||
'icons' : 'أيقونات',
|
||||
'dontforget' : 'and don\'t forget to take your towel',
|
||||
'shortcutsof' : 'الاختصارات غير مفعلة',
|
||||
'dropFiles' : 'لصق الملفات هنا',
|
||||
'or' : 'أو',
|
||||
'selectForUpload' : 'اختر الملفات التي تريد رفعها',
|
||||
'moveFiles' : 'قص الملفات',
|
||||
'copyFiles' : 'نسخ الملفات',
|
||||
'rmFromPlaces' : 'Remove from places',
|
||||
'untitled folder' : 'untitled folder',
|
||||
'untitled file.txt' : 'untitled file.txt',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'غير معروف',
|
||||
'kindFolder' : 'مجلد',
|
||||
'kindAlias' : 'اختصار',
|
||||
'kindAliasBroken' : 'اختصار غير صالح',
|
||||
// applications
|
||||
'kindApp' : 'برنامج',
|
||||
'kindPostscript' : 'Postscript ملف',
|
||||
'kindMsOffice' : 'Microsoft Office ملف',
|
||||
'kindMsWord' : 'Microsoft Word ملف',
|
||||
'kindMsExcel' : 'Microsoft Excel ملف',
|
||||
'kindMsPP' : 'Microsoft Powerpoint عرض تقديمي ',
|
||||
'kindOO' : 'Open Office ملف',
|
||||
'kindAppFlash' : 'تطبيق فلاش',
|
||||
'kindPDF' : 'ملف (PDF)',
|
||||
'kindTorrent' : 'Bittorrent ملف',
|
||||
'kind7z' : '7z ملف',
|
||||
'kindTAR' : 'TAR ملف',
|
||||
'kindGZIP' : 'GZIP ملف',
|
||||
'kindBZIP' : 'BZIP ملف',
|
||||
'kindZIP' : 'ZIP ملف',
|
||||
'kindRAR' : 'RAR ملف',
|
||||
'kindJAR' : 'Java JAR ملف',
|
||||
'kindTTF' : 'True Type خط ',
|
||||
'kindOTF' : 'Open Type خط ',
|
||||
'kindRPM' : 'RPM ملف تنصيب',
|
||||
// texts
|
||||
'kindText' : 'Text ملف',
|
||||
'kindTextPlain' : 'مستند نصي',
|
||||
'kindPHP' : 'PHP ملف نصي برمجي لـ',
|
||||
'kindCSS' : 'Cascading style sheet',
|
||||
'kindHTML' : 'HTML ملف',
|
||||
'kindJS' : 'Javascript ملف نصي برمجي لـ',
|
||||
'kindRTF' : 'Rich Text Format',
|
||||
'kindC' : 'C ملف نصي برمجي لـ',
|
||||
'kindCHeader' : 'C header ملف نصي برمجي لـ',
|
||||
'kindCPP' : 'C++ ملف نصي برمجي لـ',
|
||||
'kindCPPHeader' : 'C++ header ملف نصي برمجي لـ',
|
||||
'kindShell' : 'Unix shell script',
|
||||
'kindPython' : 'Python ملف نصي برمجي لـ',
|
||||
'kindJava' : 'Java ملف نصي برمجي لـ',
|
||||
'kindRuby' : 'Ruby ملف نصي برمجي لـ',
|
||||
'kindPerl' : 'Perl script',
|
||||
'kindSQL' : 'SQL ملف نصي برمجي لـ',
|
||||
'kindXML' : 'XML ملف',
|
||||
'kindAWK' : 'AWK ملف نصي برمجي لـ',
|
||||
'kindCSV' : 'ملف CSV',
|
||||
'kindDOCBOOK' : 'Docbook XML ملف',
|
||||
// images
|
||||
'kindصورة' : 'صورة',
|
||||
'kindBMP' : 'BMP صورة',
|
||||
'kindJPEG' : 'JPEG صورة',
|
||||
'kindGIF' : 'GIF صورة',
|
||||
'kindPNG' : 'PNG صورة',
|
||||
'kindTIFF' : 'TIFF صورة',
|
||||
'kindTGA' : 'TGA صورة',
|
||||
'kindPSD' : 'Adobe Photoshop صورة',
|
||||
'kindXBITMAP' : 'X bitmap صورة',
|
||||
'kindPXM' : 'Pixelmator صورة',
|
||||
// media
|
||||
'kindAudio' : 'ملف صوتي',
|
||||
'kindAudioMPEG' : 'MPEG ملف صوتي',
|
||||
'kindAudioMPEG4' : 'MPEG-4 ملف صوتي',
|
||||
'kindAudioMIDI' : 'MIDI ملف صوتي',
|
||||
'kindAudioOGG' : 'Ogg Vorbis ملف صوتي',
|
||||
'kindAudioWAV' : 'WAV ملف صوتي',
|
||||
'AudioPlaylist' : 'MP3 قائمة تشغيل',
|
||||
'kindVideo' : 'ملف فيديو',
|
||||
'kindVideoDV' : 'DV ملف فيديو',
|
||||
'kindVideoMPEG' : 'MPEG ملف فيديو',
|
||||
'kindVideoMPEG4' : 'MPEG-4 ملف فيديو',
|
||||
'kindVideoAVI' : 'AVI ملف فيديو',
|
||||
'kindVideoMOV' : 'Quick Time ملف فيديو',
|
||||
'kindVideoWM' : 'Windows Media ملف فيديو',
|
||||
'kindVideoFlash' : 'Flash ملف فيديو',
|
||||
'kindVideoMKV' : 'Matroska ملف فيديو',
|
||||
'kindVideoOGG' : 'Ogg ملف فيديو'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
310
simpla/design/js/elfinder/js/i18n/elfinder.bg.js
Normal file
@@ -0,0 +1,310 @@
|
||||
/**
|
||||
* Bulgarian translation
|
||||
* @author Stamo Petkov <stamo.petkov@gmail.com>
|
||||
* @version 2012-02-18
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.bg = {
|
||||
translator : 'Stamo Petkov <stamo.petkov@gmail.com>',
|
||||
language : 'Български',
|
||||
direction : 'ltr',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'Грешка',
|
||||
'errUnknown' : 'Непозната грешка.',
|
||||
'errUnknownCmd' : 'Непозната команда.',
|
||||
'errJqui' : 'Грешна конфигурация на jQuery UI. Компонентите selectable, draggable и droppable трябва да са включени.',
|
||||
'errNode' : 'elFinder изисква да бъде създаден DOM елемент.',
|
||||
'errURL' : 'Грешка в настройките на elFinder! не е зададена стойност на URL.',
|
||||
'errAccess' : 'Достъп отказан.',
|
||||
'errConnect' : 'Няма връзка със сървъра.',
|
||||
'errAbort' : 'Връзката е прекъсната.',
|
||||
'errTimeout' : 'Просрочена връзка.',
|
||||
'errNotFound' : 'Сървърът не е намерен.',
|
||||
'errResponse' : 'Грешен отговор от сървъра.',
|
||||
'errConf' : 'Грешни настройки на сървъра.',
|
||||
'errJSON' : 'Не е инсталиран модул на PHP за JSON.',
|
||||
'errNoVolumes' : 'Няма дялове достъпни за четене.',
|
||||
'errCmdParams' : 'Грешни параметри на командата "$1".',
|
||||
'errDataNotJSON' : 'Данните не са JSON.',
|
||||
'errDataEmpty' : 'Липсват данни.',
|
||||
'errCmdReq' : 'Запитването от сървъра изисква име на команда.',
|
||||
'errOpen' : 'Не мога да отворя "$1".',
|
||||
'errNotFolder' : 'Обектът не е папка.',
|
||||
'errNotFile' : 'Обектът не е фаил.',
|
||||
'errRead' : 'Не мога да прочета "$1".',
|
||||
'errWrite' : 'Не мога да пиша в "$1".',
|
||||
'errPerm' : 'Разрешение отказано.',
|
||||
'errLocked' : '"$1" е заключен и не може да бъде преименуван, местен или премахван.',
|
||||
'errExists' : 'Вече съществува файл с име "$1"',
|
||||
'errInvName' : 'Грешно име на фаил.',
|
||||
'errFolderNotFound' : 'Папката не е открита.',
|
||||
'errFileNotFound' : 'Фаилът не е открит.',
|
||||
'errTrgFolderNotFound' : 'Целевата папка "$1" не е намерена.',
|
||||
'errPopup' : 'Браузъра блокира отварянето на прозорец. За да отворите файла, разрешете отварянето в настройките на браузъра.',
|
||||
'errMkdir' : 'Не мога да създам папка"$1".',
|
||||
'errMkfile' : 'Не мога да създам файл "$1".',
|
||||
'errRename' : 'Не мога да преименувам "$1".',
|
||||
'errCopyFrom' : 'Копирането на файлове от том "$1" не е разрешено.',
|
||||
'errCopyTo' : 'Копирането на файлове в том "$1" не е разрешено.',
|
||||
'errUploadCommon' : 'Грешка при качване.',
|
||||
'errUpload' : 'Не мога да кача "$1".',
|
||||
'errUploadNoFiles' : 'Не са намерени файлове за качване.',
|
||||
'errMaxSize' : 'Данните превишават максимално допостумия размер.',
|
||||
'errFileMaxSize' : 'Файла превишава максимално допустимия размер.',
|
||||
'errUploadMime' : 'Не е позволен тип на файла.',
|
||||
'errUploadTransfer' : '"$1" грешка при предаване.',
|
||||
'errSave' : 'Не мога да запиша "$1".',
|
||||
'errCopy' : 'Не мога да копирам "$1".',
|
||||
'errMove' : 'Не мога да преместя "$1".',
|
||||
'errCopyInItself' : 'Не мога да копирам "$1" върху самия него.',
|
||||
'errRm' : 'Не мога да премахна "$1".',
|
||||
'errExtract' : 'Не мога да извлеча файловете от "$1".',
|
||||
'errArchive' : 'Не мога да създам архив.',
|
||||
'errArcType' : 'Неподдържан тип на архива.',
|
||||
'errNoArchive' : 'Файлът не е архив или е от неподдържан тип.',
|
||||
'errCmdNoSupport' : 'Сървъра не поддържа тази команда.',
|
||||
'errReplByChild' : 'Папката “$1” не може да бъде заменена от съдържащ се в нея елемент.',
|
||||
'errArcSymlinks' : 'От съображения за сигурност няма да бъдат разопаковани архиви съдържащи symlinks.',
|
||||
'errArcMaxSize' : 'Архивните файлове превишават максимално допустимия размер.',
|
||||
'errResize' : 'Не мога да преоразмеря "$1".',
|
||||
'errUsupportType' : 'Неподдържан тип файл.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'Създай архив',
|
||||
'cmdback' : 'Назад',
|
||||
'cmdcopy' : 'Копирай',
|
||||
'cmdcut' : 'Изрежи',
|
||||
'cmddownload' : 'Свали',
|
||||
'cmdduplicate' : 'Дублирай',
|
||||
'cmdedit' : 'Редактирай файл',
|
||||
'cmdextract' : 'Извлечи файловете от архива',
|
||||
'cmdforward' : 'Напред',
|
||||
'cmdgetfile' : 'Избери файлове',
|
||||
'cmdhelp' : 'За тази програма',
|
||||
'cmdhome' : 'Начало',
|
||||
'cmdinfo' : 'Информация',
|
||||
'cmdmkdir' : 'Нова папка',
|
||||
'cmdmkfile' : 'Нов текстови файл',
|
||||
'cmdopen' : 'Отвори',
|
||||
'cmdpaste' : 'Вмъкни',
|
||||
'cmdquicklook' : 'Преглед',
|
||||
'cmdreload' : 'Презареди',
|
||||
'cmdrename' : 'Преименувай',
|
||||
'cmdrm' : 'Изтрий',
|
||||
'cmdsearch' : 'Намери файлове',
|
||||
'cmdup' : 'Една директория нагоре',
|
||||
'cmdupload' : 'Качи файловете',
|
||||
'cmdview' : 'Виж',
|
||||
'cmdresize' : 'Размер на изображение',
|
||||
'cmdsort' : 'Подреди',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'Затвори',
|
||||
'btnSave' : 'Запиши',
|
||||
'btnRm' : 'Премахни',
|
||||
'btnApply' : 'Приложи',
|
||||
'btnCancel' : 'Отказ',
|
||||
'btnNo' : 'Не',
|
||||
'btnYes' : 'Да',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'Отваряне на папка',
|
||||
'ntffile' : 'Отваряне на файл',
|
||||
'ntfreload' : 'Презареждане съдържанието на папка',
|
||||
'ntfmkdir' : 'Създавам директория',
|
||||
'ntfmkfile' : 'Създавам файл',
|
||||
'ntfrm' : 'Изтриване на файлове',
|
||||
'ntfcopy' : 'Копиране на файлове',
|
||||
'ntfmove' : 'Преместване на файлове',
|
||||
'ntfprepare' : 'Подготовка за копиране на файлове',
|
||||
'ntfrename' : 'Преименуване на файлове',
|
||||
'ntfupload' : 'Качвам файлове',
|
||||
'ntfdownload' : 'Свалям файлове',
|
||||
'ntfsave' : 'Запис на файлове',
|
||||
'ntfarchive' : 'Създавам архив',
|
||||
'ntfextract' : 'Извличам файловете от архив',
|
||||
'ntfsearch' : 'Търся файлове',
|
||||
'ntfsmth' : 'Зает съм >_<',
|
||||
'ntfloadimg' : 'Зареждам изображения',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'неизвестна',
|
||||
'Today' : 'Днес',
|
||||
'Yesterday' : 'Вчера',
|
||||
'Jan' : 'Яну',
|
||||
'Feb' : 'Фев',
|
||||
'Mar' : 'Мар',
|
||||
'Apr' : 'Апр',
|
||||
'May' : 'Май',
|
||||
'Jun' : 'Юни',
|
||||
'Jul' : 'Юли',
|
||||
'Aug' : 'Авг',
|
||||
'Sep' : 'Сеп',
|
||||
'Oct' : 'Окт',
|
||||
'Nov' : 'Ное',
|
||||
'Dec' : 'Дек',
|
||||
|
||||
/******************************** sort variants ********************************/
|
||||
'sortnameDirsFirst' : 'по име (първо папките)',
|
||||
'sortkindDirsFirst' : 'по вид (първо папките)',
|
||||
'sortsizeDirsFirst' : 'по размер (първо папките)',
|
||||
'sortdateDirsFirst' : 'по дата (първо папките)',
|
||||
'sortname' : 'по име',
|
||||
'sortkind' : 'по вид',
|
||||
'sortsize' : 'по размер',
|
||||
'sortdate' : 'по дата',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'Изисква се подтвърждение',
|
||||
'confirmRm' : 'Сигурни ли сте, че желаете да премахнете файловете?<br/>Това действие е необратимо!',
|
||||
'confirmRepl' : 'Да заменя ли стария фаил с новия?',
|
||||
'apllyAll' : 'Приложи за всички',
|
||||
'name' : 'Име',
|
||||
'size' : 'Размер',
|
||||
'perms' : 'Привилегии',
|
||||
'modify' : 'Променен',
|
||||
'kind' : 'Вид',
|
||||
'read' : 'четене',
|
||||
'write' : 'запис',
|
||||
'noaccess' : 'без достъп',
|
||||
'and' : 'и',
|
||||
'unknown' : 'непознат',
|
||||
'selectall' : 'Избери всички файлове',
|
||||
'selectfiles' : 'Избери фаил(ове)',
|
||||
'selectffile' : 'Избери първият файл',
|
||||
'selectlfile' : 'Избери последният файл',
|
||||
'viewlist' : 'Изглед списък',
|
||||
'viewicons' : 'Изглед икони',
|
||||
'places' : 'Места',
|
||||
'calc' : 'Изчисли',
|
||||
'path' : 'Път',
|
||||
'aliasfor' : 'Връзка към',
|
||||
'locked' : 'Заключен',
|
||||
'dim' : 'Размери',
|
||||
'files' : 'Файлове',
|
||||
'folders' : 'Папки',
|
||||
'items' : 'Елементи',
|
||||
'yes' : 'да',
|
||||
'no' : 'не',
|
||||
'link' : 'Връзка',
|
||||
'searcresult' : 'Резултати от търсенето',
|
||||
'selected' : 'Избрани елементи',
|
||||
'about' : 'За',
|
||||
'shortcuts' : 'преки пътища',
|
||||
'help' : 'Помощ',
|
||||
'webfm' : 'Файлов менаджер за web',
|
||||
'ver' : 'Версия',
|
||||
'protocol' : 'версия на протокола',
|
||||
'homepage' : 'Начало',
|
||||
'docs' : 'Документация',
|
||||
'github' : 'Разклонение в Github',
|
||||
'twitter' : 'Последвайте ни в Twitter',
|
||||
'facebook' : 'Присъединете се към нас във Facebook',
|
||||
'team' : 'Екип',
|
||||
'chiefdev' : 'Главен разработчик',
|
||||
'developer' : 'разработчик',
|
||||
'contributor' : 'сътрудник',
|
||||
'maintainer' : 'поддръжка',
|
||||
'translator' : 'преводач',
|
||||
'icons' : 'Икони',
|
||||
'dontforget' : 'и не забравяйте да си вземете кърпата',
|
||||
'shortcutsof' : 'Преките пътища са изключени',
|
||||
'dropFiles' : 'Пуснете файловете тук',
|
||||
'or' : 'или',
|
||||
'selectForUpload' : 'Изберете файлове за качване',
|
||||
'moveFiles' : 'Премести файлове',
|
||||
'copyFiles' : 'Копирай файлове',
|
||||
'rmFromPlaces' : 'Премахни от Места',
|
||||
'untitled folder' : 'Неозаглавена папка',
|
||||
'untitled file.txt' : 'неозаглавен_файл.txt',
|
||||
'aspectRatio' : 'Отношение',
|
||||
'scale' : 'Мащаб',
|
||||
'width' : 'Ширина',
|
||||
'height' : 'Височина',
|
||||
'mode' : 'Режим',
|
||||
'resize' : 'Преоразмери',
|
||||
'crop' : 'Отрежи',
|
||||
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'Непознат',
|
||||
'kindFolder' : 'Папка',
|
||||
'kindAlias' : 'Връзка',
|
||||
'kindAliasBroken' : 'Счупена връзка',
|
||||
// applications
|
||||
'kindApp' : 'Приложение',
|
||||
'kindPostscript' : 'Postscript документ',
|
||||
'kindMsOffice' : 'Microsoft Office документ',
|
||||
'kindMsWord' : 'Microsoft Word документ',
|
||||
'kindMsExcel' : 'Microsoft Excel документ',
|
||||
'kindMsPP' : 'Microsoft Powerpoint презентация',
|
||||
'kindOO' : 'Open Office документ',
|
||||
'kindAppFlash' : 'Flash приложение',
|
||||
'kindPDF' : 'PDF документ',
|
||||
'kindTorrent' : 'Bittorrent файл',
|
||||
'kind7z' : '7z архив',
|
||||
'kindTAR' : 'TAR архив',
|
||||
'kindGZIP' : 'GZIP архив',
|
||||
'kindBZIP' : 'BZIP архив',
|
||||
'kindZIP' : 'ZIP архив',
|
||||
'kindRAR' : 'RAR архив',
|
||||
'kindJAR' : 'Java JAR файл',
|
||||
'kindTTF' : 'True Type шрифт',
|
||||
'kindOTF' : 'Open Type шрифт',
|
||||
'kindRPM' : 'RPM пакет',
|
||||
// texts
|
||||
'kindText' : 'Текстов документ',
|
||||
'kindTextPlain' : 'Чист текст',
|
||||
'kindPHP' : 'PHP изходен код',
|
||||
'kindCSS' : 'CSS таблица със стилове',
|
||||
'kindHTML' : 'HTML документ',
|
||||
'kindJS' : 'Javascript изходен код',
|
||||
'kindRTF' : 'RTF текстови файл',
|
||||
'kindC' : 'C изходен код',
|
||||
'kindCHeader' : 'C header изходен код',
|
||||
'kindCPP' : 'C++ изходен код',
|
||||
'kindCPPHeader' : 'C++ header изходен код',
|
||||
'kindShell' : 'Unix shell script',
|
||||
'kindPython' : 'Python изходен код',
|
||||
'kindJava' : 'Java изходен код',
|
||||
'kindRuby' : 'Ruby изходен код',
|
||||
'kindPerl' : 'Perl изходен код',
|
||||
'kindSQL' : 'SQL изходен код',
|
||||
'kindXML' : 'XML документ',
|
||||
'kindAWK' : 'AWK изходен код',
|
||||
'kindCSV' : 'CSV стойности разделени със запетая',
|
||||
'kindDOCBOOK' : 'Docbook XML документ',
|
||||
// images
|
||||
'kindImage' : 'Изображение',
|
||||
'kindBMP' : 'BMP изображение',
|
||||
'kindJPEG' : 'JPEG изображение',
|
||||
'kindGIF' : 'GIF изображение',
|
||||
'kindPNG' : 'PNG изображение',
|
||||
'kindTIFF' : 'TIFF изображение',
|
||||
'kindTGA' : 'TGA изображение',
|
||||
'kindPSD' : 'Adobe Photoshop изображение',
|
||||
'kindXBITMAP' : 'X bitmap изображение',
|
||||
'kindPXM' : 'Pixelmator изображение',
|
||||
// media
|
||||
'kindAudio' : 'Аудио медия',
|
||||
'kindAudioMPEG' : 'MPEG звук',
|
||||
'kindAudioMPEG4' : 'MPEG-4 звук',
|
||||
'kindAudioMIDI' : 'MIDI звук',
|
||||
'kindAudioOGG' : 'Ogg Vorbis звук',
|
||||
'kindAudioWAV' : 'WAV звук',
|
||||
'AudioPlaylist' : 'MP3 списък за изпълнение',
|
||||
'kindVideo' : 'Видео медия',
|
||||
'kindVideoDV' : 'DV филм',
|
||||
'kindVideoMPEG' : 'MPEG филм',
|
||||
'kindVideoMPEG4' : 'MPEG-4 филм',
|
||||
'kindVideoAVI' : 'AVI филм',
|
||||
'kindVideoMOV' : 'Quick Time филм',
|
||||
'kindVideoWM' : 'Windows Media филм',
|
||||
'kindVideoFlash' : 'Flash филм',
|
||||
'kindVideoMKV' : 'Matroska филм',
|
||||
'kindVideoOGG' : 'Ogg филм'
|
||||
}
|
||||
}
|
||||
}
|
||||
310
simpla/design/js/elfinder/js/i18n/elfinder.ca.js
Normal file
@@ -0,0 +1,310 @@
|
||||
/**
|
||||
* Catalan translation
|
||||
* @author Sergio Jovani <lesergi@gmail.com>
|
||||
* @version 2011-11-13
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.ca = {
|
||||
translator : 'Sergio Jovani <lesergi@gmail.com>',
|
||||
language : 'Català',
|
||||
direction : 'ltr',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'Error',
|
||||
'errUnknown' : 'Error desconegut.',
|
||||
'errUnknownCmd' : 'Ordre desconeguda.',
|
||||
'errJqui' : 'La configuració de jQuery UI no és vàlida. S\'han d\'incloure els components "selectable", "draggable" i "droppable".',
|
||||
'errNode' : 'elFinder necessita crear elements DOM.',
|
||||
'errURL' : 'La configuració de l\'elFinder no és vàlida! L\'opció URL no està configurada.',
|
||||
'errAccess' : 'Accés denegat.',
|
||||
'errConnect' : 'No s\'ha pogut connectar amb el rerefons.',
|
||||
'errAbort' : 'S\'ha interromput la connexió.',
|
||||
'errTimeout' : 'Temps de connexió excedit.',
|
||||
'errNotFound' : 'No s\'ha trobat el rerefons.',
|
||||
'errResponse' : 'La resposta del rerefons no és vàlida.',
|
||||
'errConf' : 'La configuració del rerefons no és vàlida.',
|
||||
'errJSON' : 'No està instal·lat el mòdul JSON del PHP.',
|
||||
'errNoVolumes' : 'No s\'han trobat volums llegibles.',
|
||||
'errCmdParams' : 'Els paràmetres per l\'ordre "$1" no són vàlids.',
|
||||
'errDataNotJSON' : 'Les dades no són JSON.',
|
||||
'errDataEmpty' : 'Les dades estan buides.',
|
||||
'errCmdReq' : 'La sol·licitud del rerefons necessita el nom de l\'ordre.',
|
||||
'errOpen' : 'No s\'ha pogut obrir "$1".',
|
||||
'errNotFolder' : 'L\'objecte no és una carpeta.',
|
||||
'errNotFile' : 'L\'objecte no és un fitxer.',
|
||||
'errRead' : 'No s\'ha pogut llegir "$1".',
|
||||
'errWrite' : 'No s\'ha pogut escriure a "$1".',
|
||||
'errPerm' : 'Permís denegat.',
|
||||
'errLocked' : '"$1" està bloquejat i no podeu canviar-li el nom, moure-lo ni suprimir-lo.',
|
||||
'errExists' : 'Ja existeix un fitxer anomenat "$1".',
|
||||
'errInvName' : 'El nom de fitxer no és vàlid.',
|
||||
'errFolderNotFound' : 'No s\'ha trobat la carpeta.',
|
||||
'errFileNotFound' : 'No s\'ha trobat el fitxer.',
|
||||
'errTrgFolderNotFound' : 'No s\'ha trobat la carpeta de destí "$1".',
|
||||
'errPopup' : 'El navegador ha evitat obrir una finestra emergent. Autoritzeu-la per obrir el fitxer.',
|
||||
'errMkdir' : 'No s\'ha pogut crear la carpeta "$1".',
|
||||
'errMkfile' : 'No s\'ha pogut crear el fitxer "$1".',
|
||||
'errRename' : 'No s\'ha pogut canviar el nom de "$1".',
|
||||
'errCopyFrom' : 'No està permès copiar fitxers des del volum "$1".',
|
||||
'errCopyTo' : 'No està permès copiar fitxers al volum "$1".',
|
||||
'errUploadCommon' : 'S\'ha produït un error en la càrrega.',
|
||||
'errUpload' : 'No s\'ha pogut carregar "$1".',
|
||||
'errUploadNoFiles' : 'No s\'han trobat fitxers per carregar.',
|
||||
'errMaxSize' : 'Les dades excedeixen la mida màxima permesa.',
|
||||
'errFileMaxSize' : 'El fitxer excedeix la mida màxima permesa.',
|
||||
'errUploadMime' : 'El tipus de fitxer no està permès.',
|
||||
'errUploadTransfer' : 'S\'ha produït un error en transferir "$1".',
|
||||
'errSave' : 'No s\'ha pogut desar "$1".',
|
||||
'errCopy' : 'No s\'ha pogut copiar "$1".',
|
||||
'errMove' : 'No s\'ha pogut moure "$1".',
|
||||
'errCopyInItself' : 'No s\'ha pogut copiar "$1" a si mateix.',
|
||||
'errRm' : 'No s\'ha pogut suprimir "$1".',
|
||||
'errExtract' : 'No s\'han pogut extreure els fitxers de "$1".',
|
||||
'errArchive' : 'No s\'ha pogut crear l\'arxiu.',
|
||||
'errArcType' : 'El tipus d\'arxiu no està suportat.',
|
||||
'errNoArchive' : 'El fitxer no és un arxiu o és un tipus no suportat.',
|
||||
'errCmdNoSupport' : 'El rerefons no suporta aquesta ordre.',
|
||||
'errReplByChild' : 'No es pot reemplaçar la carpeta “$1” per un element que conté.',
|
||||
'errArcSymlinks' : 'Per raons de seguretat, no es permet extreure arxius que contenen enllaços simbòlics.',
|
||||
'errArcMaxSize' : 'Els fitxers de l\'arxiu excedeixen la mida màxima permesa.',
|
||||
'errResize' : 'No s\'ha pogut redimensionar "$1".',
|
||||
'errUsupportType' : 'El tipus de fitxer no està suportat.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'Crea arxiu',
|
||||
'cmdback' : 'Enrere',
|
||||
'cmdcopy' : 'Copia',
|
||||
'cmdcut' : 'Retalla',
|
||||
'cmddownload' : 'Descarrega',
|
||||
'cmdduplicate' : 'Duplica',
|
||||
'cmdedit' : 'Edita el fitxer',
|
||||
'cmdextract' : 'Extreu els fitxers de l\'arxiu',
|
||||
'cmdforward' : 'Endavant',
|
||||
'cmdgetfile' : 'Selecciona els fitxers',
|
||||
'cmdhelp' : 'Quant a aquest programari',
|
||||
'cmdhome' : 'Inici',
|
||||
'cmdinfo' : 'Obté informació',
|
||||
'cmdmkdir' : 'Nova carpeta',
|
||||
'cmdmkfile' : 'Nou fitxer de text',
|
||||
'cmdopen' : 'Obre',
|
||||
'cmdpaste' : 'Enganxa',
|
||||
'cmdquicklook' : 'Previsualitza',
|
||||
'cmdreload' : 'Torna a carregar',
|
||||
'cmdrename' : 'Canvia el nom',
|
||||
'cmdrm' : 'Suprimeix',
|
||||
'cmdsearch' : 'Cerca fitxers',
|
||||
'cmdup' : 'Vés al directori superior',
|
||||
'cmdupload' : 'Carrega fitxers',
|
||||
'cmdview' : 'Visualitza',
|
||||
'cmdresize' : 'Redimensiona la imatge',
|
||||
'cmdsort' : 'Ordena',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'Tanca',
|
||||
'btnSave' : 'Desa',
|
||||
'btnRm' : 'Suprimeix',
|
||||
'btnApply' : 'Aplica',
|
||||
'btnCancel' : 'Cancel·la',
|
||||
'btnNo' : 'No',
|
||||
'btnYes' : 'Sí',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'S\'està obrint la carpeta',
|
||||
'ntffile' : 'S\'està obrint el fitxer',
|
||||
'ntfreload' : 'S\'està tornant a carregar el contingut de la carpeta',
|
||||
'ntfmkdir' : 'S\'està creant el directori',
|
||||
'ntfmkfile' : 'S\'estan creant el fitxers',
|
||||
'ntfrm' : 'S\'estan suprimint els fitxers',
|
||||
'ntfcopy' : 'S\'estan copiant els fitxers',
|
||||
'ntfmove' : 'S\'estan movent els fitxers',
|
||||
'ntfprepare' : 'S\'està preparant per copiar fitxers',
|
||||
'ntfrename' : 'S\'estan canviant els noms del fitxers',
|
||||
'ntfupload' : 'S\'estan carregant els fitxers',
|
||||
'ntfdownload' : 'S\'estan descarregant els fitxers',
|
||||
'ntfsave' : 'S\'estan desant els fitxers',
|
||||
'ntfarchive' : 'S\'està creant l\'arxiu',
|
||||
'ntfextract' : 'S\'estan extreient els fitxers de l\'arxiu',
|
||||
'ntfsearch' : 'S\'estan cercant els fitxers',
|
||||
'ntfsmth' : 'S\'estan realitzant operacions',
|
||||
'ntfloadimg' : 'S\'està carregant la imatge',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'desconegut',
|
||||
'Today' : 'Avui',
|
||||
'Yesterday' : 'Ahir',
|
||||
'Jan' : 'gen.',
|
||||
'Feb' : 'febr.',
|
||||
'Mar' : 'març',
|
||||
'Apr' : 'abr.',
|
||||
'May' : 'maig',
|
||||
'Jun' : 'juny',
|
||||
'Jul' : 'jul.',
|
||||
'Aug' : 'ag.',
|
||||
'Sep' : 'set.',
|
||||
'Oct' : 'oct.',
|
||||
'Nov' : 'nov.',
|
||||
'Dec' : 'des.',
|
||||
|
||||
/******************************** sort variants ********************************/
|
||||
'sortnameDirsFirst' : 'per nom (carpetes primer)',
|
||||
'sortkindDirsFirst' : 'per tipus (carpetes primer)',
|
||||
'sortsizeDirsFirst' : 'per mida (carpetes primer)',
|
||||
'sortdateDirsFirst' : 'per data (carpetes primer)',
|
||||
'sortname' : 'per nom',
|
||||
'sortkind' : 'per tipus',
|
||||
'sortsize' : 'per mida',
|
||||
'sortdate' : 'per data',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'Es necessita confirmació',
|
||||
'confirmRm' : 'Voleu suprimir els fitxers?<br />L\'acció es podrà desfer!',
|
||||
'confirmRepl' : 'Voleu reemplaçar el fitxer antic amb el nou?',
|
||||
'apllyAll' : 'Aplica a tot',
|
||||
'name' : 'Nom',
|
||||
'size' : 'Mida',
|
||||
'perms' : 'Permisos',
|
||||
'modify' : 'Modificat',
|
||||
'kind' : 'Tipus',
|
||||
'read' : 'llegir',
|
||||
'write' : 'escriure',
|
||||
'noaccess' : 'sense accés',
|
||||
'and' : 'i',
|
||||
'unknown' : 'desconegut',
|
||||
'selectall' : 'Selecciona tots els fitxers',
|
||||
'selectfiles' : 'Selecciona el(s) fitxer(s)',
|
||||
'selectffile' : 'Selecciona el primer fitxer',
|
||||
'selectlfile' : 'Selecciona l\'últim fitxer',
|
||||
'viewlist' : 'Vista en llista',
|
||||
'viewicons' : 'Vista en icones',
|
||||
'places' : 'Llocs',
|
||||
'calc' : 'Calcula',
|
||||
'path' : 'Camí',
|
||||
'aliasfor' : 'Àlies per',
|
||||
'locked' : 'Bloquejat',
|
||||
'dim' : 'Dimensions',
|
||||
'files' : 'Fitxers',
|
||||
'folders' : 'Carpetes',
|
||||
'items' : 'Elements',
|
||||
'yes' : 'sí',
|
||||
'no' : 'no',
|
||||
'link' : 'Enllaç',
|
||||
'searcresult' : 'Resultats de la cerca',
|
||||
'selected' : 'Elements seleccionats',
|
||||
'about' : 'Quant a',
|
||||
'shortcuts' : 'Dreceres',
|
||||
'help' : 'Ajuda',
|
||||
'webfm' : 'Gestor de fitxers web',
|
||||
'ver' : 'Versió',
|
||||
'protocol' : 'versió de protocol',
|
||||
'homepage' : 'Pàgina del projecte',
|
||||
'docs' : 'Documentació',
|
||||
'github' : 'Bifurca\'ns a GitHub',
|
||||
'twitter' : 'Segueix-nos a Twitter',
|
||||
'facebook' : 'Uniu-vos a Facebook',
|
||||
'team' : 'Equip',
|
||||
'chiefdev' : 'cap desenvolupador',
|
||||
'developer' : 'desenvolupador',
|
||||
'contributor' : 'col·laborador',
|
||||
'maintainer' : 'mantenidor',
|
||||
'translator' : 'traductor',
|
||||
'icons' : 'Icones',
|
||||
'dontforget' : 'i no oblideu agafar la vostra tovallola',
|
||||
'shortcutsof' : 'Les dreceres estan inhabilitades',
|
||||
'dropFiles' : 'Arrossegueu els fitxers aquí',
|
||||
'or' : 'o',
|
||||
'selectForUpload' : 'Seleccioneu els fitxer a carregar',
|
||||
'moveFiles' : 'Mou els fitxers',
|
||||
'copyFiles' : 'Copia els fitxers',
|
||||
'rmFromPlaces' : 'Suprimeix dels llocs',
|
||||
'untitled folder' : 'carpeta sense nom',
|
||||
'untitled file.txt' : 'fitxer sense nom.txt',
|
||||
'aspectRatio' : 'Relació d\'aspecte',
|
||||
'scale' : 'Escala',
|
||||
'width' : 'Amplada',
|
||||
'height' : 'Alçada',
|
||||
'mode' : 'Mode',
|
||||
'resize' : 'Redimensiona',
|
||||
'crop' : 'Retalla',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'Desconegut',
|
||||
'kindFolder' : 'Carpeta',
|
||||
'kindAlias' : 'Àlies',
|
||||
'kindAliasBroken' : 'Àlies no vàlid',
|
||||
// applications
|
||||
'kindApp' : 'Aplicació',
|
||||
'kindPostscript' : 'Document Postscript',
|
||||
'kindMsOffice' : 'Document del Microsoft Office',
|
||||
'kindMsWord' : 'Document del Microsoft Word',
|
||||
'kindMsExcel' : 'Document del Microsoft Excel',
|
||||
'kindMsPP' : 'Presentació del Microsoft Powerpoint',
|
||||
'kindOO' : 'Document de l\'Open Office',
|
||||
'kindAppFlash' : 'Aplicació Flash',
|
||||
'kindPDF' : 'Document PDF',
|
||||
'kindTorrent' : 'Fitxer Bittorrent',
|
||||
'kind7z' : 'Arxiu 7z',
|
||||
'kindTAR' : 'Arxiu TAR',
|
||||
'kindGZIP' : 'Arxiu GZIP',
|
||||
'kindBZIP' : 'Arxiu BZIP',
|
||||
'kindZIP' : 'Arxiu ZIP',
|
||||
'kindRAR' : 'Arxiu RAR',
|
||||
'kindJAR' : 'Fitxer JAR de Java',
|
||||
'kindTTF' : 'Tipus de lletra True Type',
|
||||
'kindOTF' : 'Tipus de lletra Open Type',
|
||||
'kindRPM' : 'Paquet RPM',
|
||||
// texts
|
||||
'kindText' : 'Document de text',
|
||||
'kindTextPlain' : 'Document de text net',
|
||||
'kindPHP' : 'Codi PHP',
|
||||
'kindCSS' : 'Full d\'estils CSS',
|
||||
'kindHTML' : 'Document HTML',
|
||||
'kindJS' : 'Codi Javascript',
|
||||
'kindRTF' : 'Document RTF',
|
||||
'kindC' : 'Codi C',
|
||||
'kindCHeader' : 'Codi de caçalera C',
|
||||
'kindCPP' : 'Codi C++',
|
||||
'kindCPPHeader' : 'Codi de caçalera C++',
|
||||
'kindShell' : 'Script Unix',
|
||||
'kindPython' : 'Codi Python',
|
||||
'kindJava' : 'Codi Java',
|
||||
'kindRuby' : 'Codi Ruby',
|
||||
'kindPerl' : 'Script Perl',
|
||||
'kindSQL' : 'Codi SQL',
|
||||
'kindXML' : 'Document XML',
|
||||
'kindAWK' : 'Codi AWK',
|
||||
'kindCSV' : 'Document CSV',
|
||||
'kindDOCBOOK' : 'Document XML de Docbook',
|
||||
// images
|
||||
'kindImage' : 'Imatge',
|
||||
'kindBMP' : 'Imatge BMP',
|
||||
'kindJPEG' : 'Imatge JPEG',
|
||||
'kindGIF' : 'Imatge GIF',
|
||||
'kindPNG' : 'Imatge PNG',
|
||||
'kindTIFF' : 'Imatge TIFF',
|
||||
'kindTGA' : 'Imatge TGA',
|
||||
'kindPSD' : 'Imatge Adobe Photoshop',
|
||||
'kindXBITMAP' : 'Imatge X bitmap',
|
||||
'kindPXM' : 'Imatge Pixelmator',
|
||||
// media
|
||||
'kindAudio' : 'Fitxer d\'àudio',
|
||||
'kindAudioMPEG' : 'Fitxer d\'àudio MPEG',
|
||||
'kindAudioMPEG4' : 'Fitxer d\'àudio MPEG-4',
|
||||
'kindAudioMIDI' : 'Fitxer d\'àudio MIDI',
|
||||
'kindAudioOGG' : 'Fitxer d\'àudio Ogg Vorbis',
|
||||
'kindAudioWAV' : 'Fitxer d\'àudio WAV',
|
||||
'AudioPlaylist' : 'Llista de reproducció MP3',
|
||||
'kindVideo' : 'Fitxer de vídeo',
|
||||
'kindVideoDV' : 'Fitxer de vídeo DV',
|
||||
'kindVideoMPEG' : 'Fitxer de vídeo MPEG',
|
||||
'kindVideoMPEG4' : 'Fitxer de vídeo MPEG-4',
|
||||
'kindVideoAVI' : 'Fitxer de vídeo AVI',
|
||||
'kindVideoMOV' : 'Fitxer de vídeo Quick Time',
|
||||
'kindVideoWM' : 'Fitxer de vídeo Windows Media',
|
||||
'kindVideoFlash' : 'Fitxer de vídeo Flash',
|
||||
'kindVideoMKV' : 'Fitxer de vídeo Matroska',
|
||||
'kindVideoOGG' : 'Fitxer de vídeo Ogg'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
192
simpla/design/js/elfinder/js/i18n/elfinder.cs.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Czech translation
|
||||
* @author Roman Matěna <info@romanmatena.cz>
|
||||
* @author Michal Marek <mich.marek@gmail.com>
|
||||
* @author Jakub Olexa <olexa@xland.cz>
|
||||
* @version 2011-03-11
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.cs = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Kořenový adresář neexistuje',
|
||||
'Unable to connect to backend' : 'Nepodařilo se spojit se serverem',
|
||||
'Access denied' : 'Přístup zamítnut',
|
||||
'Invalid backend configuration' : 'Nesprávná konfigurace serveru',
|
||||
'Unknown command' : 'Neznámý příkaz',
|
||||
'Command not allowed' : 'Příkaz není povolen',
|
||||
'Invalid parameters' : 'Nespárvné parametry',
|
||||
'File not found' : 'Soubor nenalezen',
|
||||
'Invalid name' : 'Neplatný název',
|
||||
'File or folder with the same name already exists' : 'Soubor nebo složka se stejným názvem již existuje',
|
||||
'Unable to rename file' : 'Nepodařilo se přejmenovat soubor',
|
||||
'Unable to create folder' : 'Nepodařilo se založit složku',
|
||||
'Unable to create file' : 'Nepodařilo se vytvořit soubor',
|
||||
'No file to upload' : 'Žádné soubory k nahrání',
|
||||
'Select at least one file to upload' : 'Vyberte alespoň jeden soubor k nahrání',
|
||||
'File exceeds the maximum allowed filesize' : 'Soubor překračuje maximální povolenou velikost',
|
||||
'Data exceeds the maximum allowed size' : 'Data překračují maximální povolenou velikost',
|
||||
'Not allowed file type' : 'Tento typ souborů není povolen',
|
||||
'Unable to upload file' : 'Nepodařilo se nahrát soubor',
|
||||
'Unable to upload files' : 'Nepodařilo se nahrát soubory',
|
||||
'Unable to remove file' : 'Nepodařilo se smazat soubor',
|
||||
'Unable to save uploaded file' : 'Nepodařilo se uložit nahraný soubor',
|
||||
'Some files was not uploaded' : 'Některé soubory nebyly nahrány',
|
||||
'Unable to copy into itself' : 'Nelze kopírovat do sebe samého',
|
||||
'Unable to move files' : 'Nepodařilo se přesunout soubory',
|
||||
'Unable to copy files' : 'Nepodařilo se zkopírovat soubory',
|
||||
'Unable to create file copy' : 'Nepodařilo se vytvořit kopii souboru',
|
||||
'File is not an image' : 'Soubor není obrázek',
|
||||
'Unable to resize image' : 'Obrázek se nepodařilo zmenšit',
|
||||
'Unable to write to file' : 'Nepodařil se zápis do souboru',
|
||||
'Unable to create archive' : 'Nepodařilo se vytváření archivu',
|
||||
'Unable to extract files from archive' : 'Nepodařilo se rozbalování archivu',
|
||||
'Unable to open broken link' : 'Nelze otevřít nefunkční odkaz',
|
||||
'File URL disabled by connector config' : 'URL adresy souborů jsou zakázány konfigurací',
|
||||
/* statusbar */
|
||||
'items' : 'položek',
|
||||
'selected items' : 'označených položek',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Zpět',
|
||||
'Reload' : 'Obnovit',
|
||||
'Open' : 'Otevřít',
|
||||
'Preview with Quick Look' : 'Zobrazit náhled',
|
||||
'Select file' : 'Označit soubor',
|
||||
'New folder' : 'Nová složka',
|
||||
'New text file' : 'Nový textový soubor',
|
||||
'Upload files' : 'Nahrát soubory',
|
||||
'Copy' : 'Kopírovat',
|
||||
'Cut' : 'Vyjmout',
|
||||
'Paste' : 'Vložit',
|
||||
'Duplicate' : 'Duplikovat',
|
||||
'Remove' : 'Odstranit',
|
||||
'Rename' : 'Přejmenovat',
|
||||
'Edit text file' : 'Upravit textový dokument',
|
||||
'View as icons' : 'Zobrazit ikony',
|
||||
'View as list' : 'Zobrazit seznam',
|
||||
'Resize image' : 'Upravit velikost',
|
||||
'Create archive' : 'Vytvořit archiv',
|
||||
'Uncompress archive' : 'Rozbalit archiv',
|
||||
'Get info' : 'Informace',
|
||||
'Help' : 'Nápověda',
|
||||
'Dock/undock filemanger window' : 'Dokovat/oddokovat okno správce souborů',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maximální povolená velikost souborů',
|
||||
'Add field' : 'Přidat pole',
|
||||
'File info' : 'Informace o souboru',
|
||||
'Folder info' : 'Informace o složce',
|
||||
'Name' : 'Název',
|
||||
'Kind' : 'Druh',
|
||||
'Size' : 'Velikost',
|
||||
'Modified' : 'Upraveno',
|
||||
'Permissions' : 'Práva',
|
||||
'Link to' : 'Odkaz na',
|
||||
'Dimensions' : 'Rozměry',
|
||||
'Confirmation required' : 'Vyžadováno potvrzení',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Jse si jist, že chcete odstranit soubory?<br />Tato operace je nevratná!',
|
||||
/* permissions */
|
||||
'read' : 'čtení',
|
||||
'write' : 'zápis',
|
||||
'remove' : 'mazání',
|
||||
/* dates */
|
||||
'Jan' : 'Led',
|
||||
'Feb' : 'Úno',
|
||||
'Mar' : 'Bře',
|
||||
'Apr' : 'Dub',
|
||||
'May' : 'Kvě',
|
||||
'Jun' : 'Čer',
|
||||
'Jul' : 'Čec',
|
||||
'Aug' : 'Srp',
|
||||
'Sep' : 'Zář',
|
||||
'Oct' : 'Říj',
|
||||
'Nov' : 'Lis',
|
||||
'Dec' : 'Pro',
|
||||
'Today' : 'Dnes',
|
||||
'Yesterday' : 'Včera',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Neznámý',
|
||||
'Folder' : 'Složka',
|
||||
'Alias' : 'Odkaz',
|
||||
'Broken alias' : 'Nefunkční odkaz',
|
||||
'Plain text' : 'Textový dokument',
|
||||
'Postscript document' : 'Postscript dokument',
|
||||
'Application' : 'Aplikace',
|
||||
'Microsoft Office document' : 'Dokument Microsoft Office',
|
||||
'Microsoft Word document' : 'Dokument Microsoft Word',
|
||||
'Microsoft Excel document' : 'Sešit Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Prezentace Microsoft Powerpoint',
|
||||
'Open Office document' : 'Dokument Open Office',
|
||||
'Flash application' : 'Aplikace Flash',
|
||||
'XML document' : 'Dokument XML',
|
||||
'Bittorrent file' : 'Bittorrent soubor',
|
||||
'7z archive' : 'Archiv 7z',
|
||||
'TAR archive' : 'Archiv TAR',
|
||||
'GZIP archive' : 'Archiv GZIP',
|
||||
'BZIP archive' : 'Archiv BZIP',
|
||||
'ZIP archive' : 'Archiv ZIP',
|
||||
'RAR archive' : 'Archiv RAR',
|
||||
'Javascript application' : 'Aplikace Javascript',
|
||||
'PHP source' : 'Zdroják PHP',
|
||||
'HTML document' : 'Dokument HTML',
|
||||
'Javascript source' : 'Zdroják Javascript',
|
||||
'CSS style sheet' : 'CSS style sheet',
|
||||
'C source' : 'Zdroják C',
|
||||
'C++ source' : 'Zdroják C++',
|
||||
'Unix shell script' : 'Skript Unix shell',
|
||||
'Python source' : 'Zdroják Python',
|
||||
'Java source' : 'Zdroják Java',
|
||||
'Ruby source' : 'Zdroják Ruby',
|
||||
'Perl script' : 'Skript Perl',
|
||||
'BMP image' : 'Obrázek BMP',
|
||||
'JPEG image' : 'Obrázek JPEG',
|
||||
'GIF Image' : 'Obrázek GIF',
|
||||
'PNG Image' : 'Obrázek PNG',
|
||||
'TIFF image' : 'Obrázek TIFF',
|
||||
'TGA image' : 'Obrázek TGA',
|
||||
'Adobe Photoshop image' : 'Obrázek Adobe Photoshop',
|
||||
'MPEG audio' : 'MPEG nahrávka',
|
||||
'MIDI audio' : 'MIDI skladba',
|
||||
'Ogg Vorbis audio' : 'Nahrávka Ogg Vorbis',
|
||||
'MP4 audio' : 'Nahrávka MP4',
|
||||
'WAV audio' : 'Nahrávka WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : 'Zkratky',
|
||||
'Select all files' : 'Označit všechny soubory',
|
||||
'Copy/Cut/Paste files' : 'Kopírovat/Vyjmout/Vložit soubory',
|
||||
'Open selected file/folder' : 'Oteřít zvolený soubor/složku',
|
||||
'Open/close QuickLook window' : 'Otevřít/zavřít okno náhledu',
|
||||
'Remove selected files' : 'Smazat označené soubory',
|
||||
'Selected files or current directory info' : 'Informace o zvolených souborech nebo aktuální složce',
|
||||
'Create new directory' : 'Vytvořit novou složku',
|
||||
'Open upload files form' : 'Otevřit okno pro nahrávání souborů',
|
||||
'Select previous file' : 'Vybrat předchozí soubor',
|
||||
'Select next file' : 'Vybrat následující soubor',
|
||||
'Return into previous folder' : 'Návrat do předchozí složky',
|
||||
'Increase/decrease files selection' : 'Rozšířit/zůžit výběr souborů',
|
||||
'Authors' : 'Autoři',
|
||||
'Sponsors' : 'Sponzoři',
|
||||
'elFinder: Web file manager' : 'elFinder: Webový správce souborů',
|
||||
'Version' : 'Verze',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42 Ltd',
|
||||
'Donate to support project development' : 'Přispějte na další vývoj projektu',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripty/php programování: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programování, technická podpora: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnih',
|
||||
'Spanish localization' : 'Český překlad: Xland. CZ, helpdesk@xland.cz',
|
||||
'Icons' : 'Ikony',
|
||||
'License: BSD License' : 'Licence: BSD License',
|
||||
'elFinder documentation' : 'Dokumentace elFinder',
|
||||
'Simple and usefull Content Management System' : 'Jednoduchý Content Management Systém',
|
||||
'Support project development and we will place here info about you' : 'Podpořte tento projekt a my vás zde zmíníme',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Kontaktujte nás, pokud potřebujete pomoci s integrací elFinderu do vašeho produktu',
|
||||
'elFinder support following shortcuts' : 'elFinder podporuje následující zkratky',
|
||||
'helpText' : 'elFinder funguje stejně jako správce souborů ve vašem počítači.<br />Operace se provádějí pomoci tlačítek na horní liště. Pokud vám není jasný význam ikony, podržte nad ní myš a zobrazí se vám nápověda.<br/>Operace s existujícími soubory/složkami lze provádět pomocí kontextového menu (kliněte prvým tlačítkem myši).<br/> Pro hromadné kopírování/mazání souborů/adresářů je označte podržením klávesy Shift/Alt + kliknutím levého tlačítka myši.'
|
||||
};
|
||||
})(jQuery);
|
||||
192
simpla/design/js/elfinder/js/i18n/elfinder.de.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* German translation
|
||||
* @author Dominik Rodler <dominik.rodler@planetinsider.com>
|
||||
* @author Christopher Thanisch <christopher.thanisch@gmail.com>
|
||||
* @version 2011-01-08
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.de = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Root Verzeichnis existiert nicht',
|
||||
'Unable to connect to backend' : 'Verbindung zum Server konnte nicht aufgebaut werden',
|
||||
'Access denied' : 'Zugriff verweigert',
|
||||
'Invalid backend configuration' : 'Ungültige Serverkonfiguration',
|
||||
'Unknown command' : 'Unbekannter Befehl',
|
||||
'Command not allowed' : 'Befehl nicht erlaubt',
|
||||
'Invalid parameters' : 'Ungültiger Parameter',
|
||||
'File not found' : 'Datei nicht gefunden',
|
||||
'Invalid name' : 'Ungültiger Name',
|
||||
'File or folder with the same name already exists' : 'Datei oder Verzeichnis mit diesem Namen existiert bereits',
|
||||
'Unable to rename file' : 'Datei konnte nicht umbenannt werden',
|
||||
'Unable to create folder' : 'Verzeichnis konnte nicht erstellt werden',
|
||||
'Unable to create file' : 'Datei konnte nicht erstellt werden',
|
||||
'No file to upload' : 'Es wurde keine Datei ausgewählt',
|
||||
'Select at least one file to upload' : 'Mindestens eine Datei zum Hochladen auswählen',
|
||||
'File exceeds the maximum allowed filesize' : 'Die Datei überschreitet die maximal erlaubte Dateigröße',
|
||||
'Data exceeds the maximum allowed size' : 'Daten überschreiten die maximal erlaubte Größe',
|
||||
'Not allowed file type' : 'Dateityp nicht erlaubt',
|
||||
'Unable to upload file' : 'Datei konnte nicht hochgeladen werden',
|
||||
'Unable to upload files' : 'Dateien konnten nicht hochgeladen werden',
|
||||
'Unable to remove file' : 'Datei konnte nicht gelöscht werden',
|
||||
'Unable to save uploaded file' : 'Hochgeladene Datei konnte nicht gespeichert werden',
|
||||
'Some files was not uploaded' : 'Einige Dateien wurden nicht hochgeladen',
|
||||
'Unable to copy into itself' : 'Eine Datei kann nicht auf sich selbst kopiert werden',
|
||||
'Unable to move files' : 'Dateien konnten nicht verschoben werden',
|
||||
'Unable to copy files' : 'Dateien konnten nicht kopiert werden',
|
||||
'Unable to create file copy' : 'Datei konnte nicht kopiert werden',
|
||||
'File is not an image' : 'Diese Datei ist kein Bild',
|
||||
'Unable to resize image' : 'Bildgröße konnte nicht verändert werden',
|
||||
'Unable to write to file' : 'Datei konnte nicht gespeichert werden',
|
||||
'Unable to create archive' : 'Archiv konnte nicht erstellt werden',
|
||||
'Unable to extract files from archive' : 'Dateien konnten nicht aus Archiv entpackt werden',
|
||||
'Unable to open broken link' : 'Der Hyperlink ist ungültig',
|
||||
'File URL disabled by connector config' : 'Datei-URL in Connector-Konfiguration deaktiviert',
|
||||
/* statusbar */
|
||||
'items' : 'Objekte',
|
||||
'selected items' : 'ausgewählte Objekte',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Zurück',
|
||||
'Reload' : 'Aktualisieren',
|
||||
'Open' : 'Öffnen',
|
||||
'Preview with Quick Look' : 'Vorschau',
|
||||
'Select file' : 'Datei auswählen',
|
||||
'New folder' : 'Neues Verzeichnis',
|
||||
'New text file' : 'Neue Textdatei',
|
||||
'Upload files' : 'Dateien hochladen',
|
||||
'Copy' : 'Kopieren',
|
||||
'Cut' : 'Ausschneiden',
|
||||
'Paste' : 'Einfügen',
|
||||
'Duplicate' : 'Duplizieren',
|
||||
'Remove' : 'Löschen',
|
||||
'Rename' : 'Umbenennen',
|
||||
'Edit text file' : 'Textdatei bearbeiten',
|
||||
'View as icons' : 'Als Symbole anzeigen',
|
||||
'View as list' : 'Als Liste anzeigen',
|
||||
'Resize image' : 'Größe des Bildes verändern',
|
||||
'Create archive' : 'Dateien komprimieren',
|
||||
'Uncompress archive' : 'Archiv entpacken',
|
||||
'Get info' : 'Informationen',
|
||||
'Help' : 'Hilfe',
|
||||
'Dock/undock filemanager window' : 'Filemanager-Fenster andocken/trennen',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maximal erlaubte Dateigröße',
|
||||
'Add field' : 'Feld hinzufügen',
|
||||
'File info' : 'Dateiinformationen',
|
||||
'Folder info' : 'Verzeichnisinformationen',
|
||||
'Name' : 'Name',
|
||||
'Kind' : 'Typ',
|
||||
'Size' : 'Größe',
|
||||
'Modified' : 'Letzte Änderung',
|
||||
'Permissions' : 'Berechtigungen',
|
||||
'Link to' : 'Link zu',
|
||||
'Dimensions' : 'Größe',
|
||||
'Confirmation required' : 'Bestätigung erforderlich',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Sind Sie sicher, dass Sie diese Dateien löschen wollen?<br />Das Löschen kann nicht rückgängig gemacht werden.',
|
||||
/* permissions */
|
||||
'read' : 'lesen',
|
||||
'write' : 'schreiben',
|
||||
'remove' : 'entfernen',
|
||||
/* dates */
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Mär',
|
||||
'Apr' : 'Apr',
|
||||
'May' : 'Mai',
|
||||
'Jun' : 'Jun',
|
||||
'Jul' : 'Jul',
|
||||
'Aug' : 'Aug',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Okt',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dez',
|
||||
'Today' : 'heute',
|
||||
'Yesterday' : 'gestern',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'unbekannt',
|
||||
'Folder' : 'Verzeichnis',
|
||||
'Alias' : 'Alias',
|
||||
'Broken alias' : 'defekter Alias',
|
||||
'Plain text' : 'Textdatei',
|
||||
'Postscript document' : 'Postscript Dokument',
|
||||
'Application' : 'Anwendung',
|
||||
'Microsoft Office document' : 'Microsoft Office Dokument',
|
||||
'Microsoft Word document' : 'Microsoft Word Dokument',
|
||||
'Microsoft Excel document' : 'Microsoft Excel Dokument',
|
||||
'Microsoft Powerpoint presentation' : 'Microsoft Powerpoint Dokument',
|
||||
'Open Office document' : 'Open Office Dokument',
|
||||
'Flash application' : 'Flash Anwendung',
|
||||
'XML document' : 'XML Dokument',
|
||||
'Bittorrent file' : 'Bittorrent Datei',
|
||||
'7z archive' : '7z Archiv',
|
||||
'TAR archive' : 'TAR Archiv',
|
||||
'GZIP archive' : 'GZIP Archiv',
|
||||
'BZIP archive' : 'BZIP Archiv',
|
||||
'ZIP archive' : 'ZIP Archiv',
|
||||
'RAR archive' : 'RAR Archiv',
|
||||
'Javascript application' : 'Javascript Anwendung',
|
||||
'PHP source' : 'PHP Datei',
|
||||
'HTML document' : 'HTML Datei',
|
||||
'Javascript source' : 'Javascript Datei',
|
||||
'CSS style sheet' : 'CSS Datei',
|
||||
'C source' : 'C Datei',
|
||||
'C++ source' : 'C++ Datei',
|
||||
'Unix shell script' : 'Unix Shell Skript',
|
||||
'Python source' : 'Python Datei',
|
||||
'Java source' : 'Java Datei',
|
||||
'Ruby source' : 'Ruby Datei',
|
||||
'Perl script' : 'Perl Skript',
|
||||
'BMP image' : 'BMP Bild',
|
||||
'JPEG image' : 'JPEG Bild',
|
||||
'GIF Image' : 'GIF Bild',
|
||||
'PNG Image' : 'PNG Bild',
|
||||
'TIFF image' : 'TIFF Bild',
|
||||
'TGA image' : 'TGA Bild',
|
||||
'Adobe Photoshop image' : 'Adobe Photoshop Bild',
|
||||
'MPEG audio' : 'MPEG Audiodatei',
|
||||
'MIDI audio' : 'MIDI Audiodatei',
|
||||
'Ogg Vorbis audio' : 'Ogg Vorbis Audiodatei',
|
||||
'MP4 audio' : 'MP4 Audiodatei',
|
||||
'WAV audio' : 'WAV Audiodatei',
|
||||
'DV video' : 'DV Video',
|
||||
'MP4 video' : 'MP4 Video',
|
||||
'MPEG video' : 'MPEG Video',
|
||||
'AVI video' : 'AVI Video',
|
||||
'Quicktime video' : 'Quicktime Video',
|
||||
'WM video' : 'WM Video',
|
||||
'Flash video' : 'Flash Video',
|
||||
'Matroska video' : 'Matroska Video',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Alle Dateien auswählen',
|
||||
'Copy/Cut/Paste files' : 'Dateien kopieren/ausschneiden/einfügen',
|
||||
'Open selected file/folder' : 'Ausgewählte Datei/Verzeichnis öffnen',
|
||||
'Open/close QuickLook window' : 'QuickLook Fenter öffnen/schließen',
|
||||
'Remove selected files' : 'Ausgewählte Dateien löschen',
|
||||
'Selected files or current directory info' : 'Informationen über ausgewählte Dateien oder das aktuelle Verzeichnis',
|
||||
'Create new directory' : 'Neues Verzeichnis erstellen',
|
||||
'Open upload files form' : 'Uploadfenster öffnen',
|
||||
'Select previous file' : 'Vorherige Datei auswählen',
|
||||
'Select next file' : 'Nächste Datei auswählen',
|
||||
'Return into previous folder' : 'Zurück zu vorherigem Verzeichnis',
|
||||
'Increase/decrease files selection' : 'Auswahl erweitern/verringern',
|
||||
'Authors' : 'Autoren',
|
||||
'Sponsors' : 'Sponsoren',
|
||||
'elFinder: Web file manager' : 'elFinder: Dateimanager für das Web',
|
||||
'Version' : 'Version',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42 LTD',
|
||||
'Donate to support project development' : 'Unterstützen Sie das Projekt mit Ihrer Spende',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascript/PHP Programmierung: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python Programmierung, technische Unterstützung: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnyh',
|
||||
'Spanish localization' : 'Deutsche Übersetzung',
|
||||
'Icons' : 'Symbole',
|
||||
'License: BSD License' : 'Lizenz: BSD Lizenz',
|
||||
'elFinder documentation' : 'elFinder Dokumentation',
|
||||
'Simple and usefull Content Management System' : 'Einfaches und nützliches Content Management System',
|
||||
'Support project development and we will place here info about you' : 'Unterstützen Sie das Projekt und wir erwähnen Sie hier.',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Kontaktieren Sie uns, wenn Sie Hilfe bei der Integration von elFinder in Ihre produkte benötigen',
|
||||
'elFinder support following shortcuts' : 'elFinder unterstützt die folgenden Shortcuts',
|
||||
'helpText' : 'elFinder funktioniert ähnlich wie der Dateimanager Ihres Computers. <br />Bearbeiten Sie Dateien mit den Knöpfen der oberen Werkzeugleiste, des Kontextmenüs (Rechtsklick) oder mit Keyboard Shortcuts. Falls ein Symbol missverständlich ist, lassen Sie Ihren Mauscursor über dem Symbol, um einen Hinweis zu sehen. Verschieben Sie Dateien / Verzeichnisse durch Ziehen auf das gewünschten Verzeichnis. Kopieren Sie Dateien durch Verschieben mit gedrückter Shift-Taste.'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
190
simpla/design/js/elfinder/js/i18n/elfinder.el.js
Normal file
@@ -0,0 +1,190 @@
|
||||
/*
|
||||
* Greek translation
|
||||
* @author Panagiotis Skarvelis
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.el = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Το Root directory δεν υπάρχει',
|
||||
'Unable to connect to backend' : 'Αδυναμία σύνδεσης',
|
||||
'Access denied' : 'Δεν επιτρέπεται η πρόσβαση',
|
||||
'Invalid backend configuration' : 'Λανθασμένες ρυθμίσεις στον Server',
|
||||
'Unknown command' : 'Άγνωστη εντολή',
|
||||
'Command not allowed' : 'Η εντολή δεν επιτρέπεται',
|
||||
'Invalid parameters' : 'Λανθασμένες παράμετροι',
|
||||
'File not found' : 'Το αρχείο δεν βρέθηκε',
|
||||
'Invalid name' : 'Λανθασμένο όνομα',
|
||||
'File or folder with the same name already exists' : 'Υπάρχει ήδη αρχείο ή φάκελος με το ίδιο όνομα',
|
||||
'Unable to rename file' : 'Αδύνατη η μετονομασία του αρχείου',
|
||||
'Unable to create folder' : 'Αδύνατη η δημιουργία του φακέλου',
|
||||
'Unable to create file' : 'Αδύνατη η δημιουργία αρχείου',
|
||||
'No file to upload' : 'Δεν υπάρχει αρχείο για να φορτώσετε',
|
||||
'Select at least one file to upload' : 'Επιλέξτε τουλάχιστον ένα αρχείο για μεταφόρτωση',
|
||||
'File exceeds the maximum allowed filesize' : 'Το αρχείο υπερβαίνει το μέγιστο επιτρεπόμενο μέγεθος αρχείου',
|
||||
'Not allowed file type' : 'Δεν επιτρέπεται ο τύπος του αρχείου',
|
||||
'Unable to upload file' : 'Αδυναμία φόρτωσης του αρχείου',
|
||||
'Unable to upload files' : 'Αδυναμία φόρτωσης των αρχείων',
|
||||
'Unable to remove file' : 'Αδυναμία αφαίρεσης του αρχείου',
|
||||
'Unable to save uploaded file' : 'Αδυναμία εγγραφής του αρχείου που μεταφορτώθηκε ',
|
||||
'Some files was not uploaded' : 'Ορισμένα αρχεία δεν μεταφορτώθηκαν',
|
||||
'Unable to copy into itself' : 'Δεν μπορώ να κάνω αντίγραφο με το ίδιο όνομα',
|
||||
'Unable to move files' : 'Αδυναμία μετακίνησης των αρχείων',
|
||||
'Unable to copy files' : 'Αδυναμία αντιγραφής των αρχείων',
|
||||
'Unable to create file copy' : 'Αδύνατη η δημιουργία του αρχείου αντιγράφου',
|
||||
'File is not an image' : 'Το αρχείο δεν είναι αρχείο εικόνας',
|
||||
'Unable to resize image' : 'Αδύνατη η αλλαγής μεγέθους της εικόνας',
|
||||
'Unable to write to file' : 'Αδύνατη η εγγραφή στο αρχείο',
|
||||
'Unable to create archive' : 'Αδύνατη η δημιουργία του συμπιεσμένου αρχείου',
|
||||
'Unable to extract files from archive' : 'Αδύνατη η εξαγωγή των αρχείων από το συμπιεσμένο αρχείο',
|
||||
'Unable to open broken link' : 'Αδυναμία στο άνοιγμα λόγο σπασμένης σύνδεσης (file link)',
|
||||
'File URL disabled by connector config' : 'Τα URL αρχείου είναι καταργημένα στις ρυθμίσεις του server',
|
||||
/* statusbar */
|
||||
'items' : 'αντικείμενα',
|
||||
'selected items' : 'επιλεγμένα αντικείμενα',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Πίσω',
|
||||
'Reload' : 'Ανανέωση',
|
||||
'Open' : 'Άνοιγμα',
|
||||
'Preview with Quick Look' : 'Προεπισκόπηση Quick Look',
|
||||
'Select file' : 'Επιλέξτε αρχείο',
|
||||
'New folder' : 'Νέος φάκελος',
|
||||
'New text file' : 'Νέο αρχείο κειμένου',
|
||||
'Upload files' : 'Μεταφόρτωση αρχείων',
|
||||
'Copy' : 'Αντιγραφή',
|
||||
'Cut' : 'Αποκοπή',
|
||||
'Paste' : 'Επικόλληση',
|
||||
'Duplicate' : 'Αντίγραφο',
|
||||
'Remove' : 'Αφαίρεση',
|
||||
'Rename' : 'Μετονομασία',
|
||||
'Edit text file' : 'Επεξεργασία αρχείου κειμένου',
|
||||
'View as icons' : 'Προβολή ως εικονίδια',
|
||||
'View as list' : 'Προβολή λίστας',
|
||||
'Resize image' : 'Αλλαγή μεγέθους της εικόνας',
|
||||
'Create archive' : 'Δημιουργία συμπιεσμένου',
|
||||
'Uncompress archive' : 'Αποσυμπίεση',
|
||||
'Get info' : 'Πληροφορίες',
|
||||
'Help' : 'Βοήθεια',
|
||||
'Dock/undock filemanager window' : 'Ελεύθερο/Αγκιστρωμένο παράθυρο',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Μέγιστο επιτρεπόμενο μέγεθος αρχείων',
|
||||
'Add field' : 'Προσθήκη πεδίου',
|
||||
'File info' : 'Πληροφορίες αρχείου',
|
||||
'Folder info' : 'Πληροφορίες φακέλου',
|
||||
'Name' : 'Όνομα',
|
||||
'Kind' : 'Είδος',
|
||||
'Size' : 'Μέγεθος',
|
||||
'Modified' : 'Τροποποιημένο',
|
||||
'Permissions' : 'Άδειες',
|
||||
'Link to' : 'Σύνδεσμος σε',
|
||||
'Dimensions' : 'Διαστάσεις',
|
||||
'Confirmation required' : 'Απαιτείται επιβεβαίωση',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Θέλετε σίγουρα να καταργήσετε τα αρχεία; <br /> Η εντολή είναι μη αναστρέψιμη!',
|
||||
/* permissions */
|
||||
'read' : 'Ανάγνωση',
|
||||
'write' : 'Εγγραφή',
|
||||
'remove' : 'Απομάκρυνση',
|
||||
/* dates */
|
||||
'Jan' : 'Ιανουάριος',
|
||||
'Feb' : 'Φεβρουάριος',
|
||||
'Mar' : 'Μάρτιος',
|
||||
'Apr' : 'Απρίλιος',
|
||||
'May' : 'Μαιος',
|
||||
'Jun' : 'Ιούνιος',
|
||||
'Jul' : 'Ιούλιος',
|
||||
'Aug' : 'Άυγουστος',
|
||||
'Sep' : 'Σεπτέμβριος',
|
||||
'Oct' : 'Οκτώβριος',
|
||||
'Nov' : 'Νοέμβριος',
|
||||
'Dec' : 'Δεκέμβριος',
|
||||
'Today' : 'Σήμερα',
|
||||
'Yesterday' : 'Χθές',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Άγνωστος',
|
||||
'Folder' : 'Φάκελος',
|
||||
'Alias' : 'Σύνδεσμος',
|
||||
'Broken alias' : 'Σπασμένος Σύνδεσμος',
|
||||
'Plain text' : 'Απλό κείμενο',
|
||||
'Postscript document' : 'Αρχείο postscript',
|
||||
'Application' : 'Εφαρμογή',
|
||||
'Microsoft Office document' : 'Αρχείο Microsoft Office',
|
||||
'Microsoft Word document' : 'Αρχείο Microsoft Word',
|
||||
'Microsoft Excel document' : 'Αρχείο Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Παρουσίαση Microsoft Powerpoint',
|
||||
'Open Office document' : 'Αρχείο Open Office',
|
||||
'Flash application' : 'Εφαρμογή Flash',
|
||||
'XML document' : 'Αρχείο XML',
|
||||
'Bittorrent file' : 'Αρχείο Bittorrent',
|
||||
'7z archive' : 'Συμπιεσμένο αρχείο 7z',
|
||||
'TAR archive' : 'Συμπιεσμένο αρχείο TAR',
|
||||
'GZIP archive' : 'Συμπιεσμένο αρχείο GZIP',
|
||||
'BZIP archive' : 'Συμπιεσμένο αρχείο BZIP',
|
||||
'ZIP archive' : 'Συμπιεσμένο αρχείο ZIP',
|
||||
'RAR archive' : 'Συμπιεσμένο αρχείο RAR',
|
||||
'Javascript application' : 'Εφαρμογή Javascript',
|
||||
'PHP source' : 'Κώδικας PHP',
|
||||
'HTML document' : 'Αρχείο HTML',
|
||||
'Javascript source' : 'Κώδικας Javascript',
|
||||
'CSS style sheet' : 'Φύλλο στυλ CSS',
|
||||
'C source' : 'Κώδικας C',
|
||||
'C++ source' : 'Κώδικας C++',
|
||||
'Unix shell script' : 'Εφαρμογή κελύφους Unix',
|
||||
'Python source' : 'Κώδικας Python',
|
||||
'Java source' : 'Κώδικας Java',
|
||||
'Ruby source' : 'Κώδικας Ruby',
|
||||
'Perl script' : 'Εφαρμογή Perl',
|
||||
'BMP image' : 'Εικόνα BMP',
|
||||
'JPEG image' : 'Εικόνα JPEG',
|
||||
'GIF Image' : 'Εικόνα GIF',
|
||||
'PNG Image' : 'Εικόνα PNG',
|
||||
'TIFF image' : 'Εικόνα TIFF',
|
||||
'TGA image' : 'Εικόνα TGA',
|
||||
'Adobe Photoshop image' : 'Εικόνα Adobe Photoshop',
|
||||
'MPEG audio' : 'Ήχος MPEG',
|
||||
'MIDI audio' : 'Ήχος MIDI',
|
||||
'Ogg Vorbis audio' : 'Ήχος Ogg Vorbis',
|
||||
'MP4 audio' : 'Ήχος MP4',
|
||||
'WAV audio' : 'Ήχος WAV',
|
||||
'DV video' : 'Βίντεο DV',
|
||||
'MP4 video' : 'Βίντεο MP4',
|
||||
'MPEG video' : 'Βίντεο MPEG',
|
||||
'AVI video' : 'Βίντεο AVI',
|
||||
'Quicktime video' : 'Βίντεο Quicktime',
|
||||
'WM video' : 'Βίντεο WM',
|
||||
'Flash video' : 'Βίντεο Flash',
|
||||
'Matroska video' : 'Βίντεο Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Επιλέξτε όλα τα αρχεία',
|
||||
'Copy/Cut/Paste files' : 'Αντιγραφή / Αποκοπή / Επικόλληση αρχείων',
|
||||
'Open selected file/folder' : 'Άνοιγμα επιλεγμένου αρχείου / φακέλου',
|
||||
'Open/close QuickLook window' : 'Άνοιγμα/κλείσιμο παραθύρου QuickLook ',
|
||||
'Remove selected files' : 'Αφαιρέστε τα επιλεγμένα αρχεία',
|
||||
'Selected files or current directory info' : 'Πληροφορίες του καταλόγου ή των επιλεγμένων αρχείων',
|
||||
'Create new directory' : 'Δημιουργία νέου καταλόγου',
|
||||
'Open upload files form' : 'Ανοίξετε την φόρμα μεταφόρτωσης αρχείων',
|
||||
'Select previous file' : 'Επιλογή προηγούμενου αρχείου',
|
||||
'Select next file' : 'Επιλογή επόμενου αρχείου',
|
||||
'Return into previous folder' : 'Επιστροφή στον προηγούμενο φάκελο',
|
||||
'Increase/decrease files selection' : 'Αύξηση / μείωση της επιλογής αρχείων',
|
||||
'Authors' : 'Συγγραφείς',
|
||||
'Sponsors' : 'Χορηγοί',
|
||||
'elFinder: Web file manager' : 'elFinder: Web διαχειριστής αρχείων',
|
||||
'Έκδοση' : 'Версія',
|
||||
'Copyright: Studio 42 LTD' : 'Πνευματική ιδιοκτησία: Studio 42 LTD',
|
||||
'Donate to support project development' : 'Κάντε δωρεά για την υποστήριξη της ανάπτυξης του έργου',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Προγραμματισμός Javascript/PHP : Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Προγραμματισμός Python , Τεχνική υποστήριξη: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Σχεδιασμός: Razumnih Valentin',
|
||||
'Spanish localization' : 'Ισπανική μετάφραση',
|
||||
'Icons' : 'Εικονίδια',
|
||||
'License: BSD License' : 'Άδεια: BSD License',
|
||||
'elFinder documentation' : 'elFinder Τεκμηρίωση',
|
||||
'Simple and usefull Content Management System' : 'Απλό και χρήσιμο Σύστημα Διαχείρισης Περιεχομένου',
|
||||
'Support project development and we will place here info about you' : 'Υποστηρίξτε την ανάπτυξη του έργου και θα βάλουμε εδώ πληροφορίες για εσάς',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Ελάτε σε επαφή μαζί μας αν χρειάζεστε βοήθεια για την ενσωμάτωση του elFinder σε δικά σας προϊόντα',
|
||||
'helpText' : 'Το elFinder λειτουργεί παρόμοια με τον διαχειριστή αρχείων του υπολογιστή σας.<br /> Η Διαχείριση των αρχείων γίνετε χρησιμοποιώντας τα εικονίδια στην γραμμή εργαλείων , μέσο μενού που εμφανίζετε με το δεξί πλήκτρο του ποντικιού ή μέσο συντομεύσεων πληκτρολογίου.Για να μετακινήσετε αρχεία / φακέλους, απλά τα επιλέγετε και τα μετακινείτε στο επιθυμητό εικονίδιο φακέλου.Αν κρατάτε πατημένο το πλήκτρο Shift τα αρχεία θα αντιγραφούν.<br/> <br/> Το ElFinder υποστηρίζει τις παρακάτω συντομεύσεις πληκτρολογίου:'
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
191
simpla/design/js/elfinder/js/i18n/elfinder.es.js
Normal file
@@ -0,0 +1,191 @@
|
||||
/*
|
||||
* Spanish translation
|
||||
* @author Alex Vavilin <xand@xand.es>
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.es = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'El directorio raíz no existe',
|
||||
'Unable to connect to backend' : 'No se ha podido establecer la conexión con el servidor',
|
||||
'Access denied' : 'Acceso denegado',
|
||||
'Invalid backend configuration' : 'La respuesta del servidor es incorrecta',
|
||||
'Unknown command' : 'Comando desconocido',
|
||||
'Command not allowed' : 'No puede ejecutar este comando',
|
||||
'Invalid parameters' : 'Parámetros incorrectos',
|
||||
'File not found' : 'Fichero no encontrado',
|
||||
'Invalid name' : 'Nombre incorrecto',
|
||||
'File or folder with the same name already exists' : 'Ya existe un fichero o un directorio con este nombre',
|
||||
'Unable to rename file' : 'No se ha podido cambiar el nombre al directorio',
|
||||
'Unable to create folder' : 'No se ha podido crear el directorio',
|
||||
'Unable to create file' : 'No se ha podido crear el fichero',
|
||||
'No file to upload' : 'No hay ficheros para subir',
|
||||
'Select at least one file to upload' : 'Seleccione, como mínimo un fichero, para subir',
|
||||
'File exceeds the maximum allowed filesize' : 'El tamaño del fichero es más grande que el tamaño máximo autorizado',
|
||||
'Data exceeds the maximum allowed size' : 'Los datos exceden el tamaño máximo permitido',
|
||||
'Not allowed file type' : 'Tipo de fichero no permitido',
|
||||
'Unable to upload file' : 'No se ha podido subir el fichero',
|
||||
'Unable to upload files' : 'No se han podido subir los ficheros',
|
||||
'Unable to remove file' : 'No se ha podido eliminar el fichero',
|
||||
'Unable to save uploaded file' : 'No se ha podido guardar el fichero subido',
|
||||
'Some files was not uploaded' : 'Algunos ficheros no han podido ser subidos',
|
||||
'Unable to copy into itself' : 'No se puede copiar dentro de sí mismo',
|
||||
'Unable to move files' : 'No se ha podido mover los ficheros',
|
||||
'Unable to copy files' : 'No se ha podido copiar los ficheros',
|
||||
'Unable to create file copy' : 'No se ha podido crear copia del fichero',
|
||||
'File is not an image' : 'Este fichero no es una imagen',
|
||||
'Unable to resize image' : 'No se han podido cambiar las dimensiones de la imagen',
|
||||
'Unable to write to file' : 'No se ha podido escribir el fichero',
|
||||
'Unable to create archive' : 'No se ha podido crear el archivo',
|
||||
'Unable to extract files from archive' : 'No se ha podido extraer fichero desde archivo',
|
||||
'Unable to open broken link' : 'No se puede abrir un enlace roto',
|
||||
'File URL disabled by connector config' : 'El acceso a las rutas de los ficheros está prohibido en la configuración del conector',
|
||||
/* statusbar */
|
||||
'items' : 'objetos',
|
||||
'selected items' : 'objetos seleccionados',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Atrás',
|
||||
'Reload' : 'Refrescar',
|
||||
'Open' : 'Abrir',
|
||||
'Preview with Quick Look' : 'Vista previa',
|
||||
'Select file' : 'Seleccionar fichero',
|
||||
'New folder' : 'Nueva carpeta',
|
||||
'New text file' : 'Nuevo fichero',
|
||||
'Upload files' : 'Subir ficheros',
|
||||
'Copy' : 'Copiar',
|
||||
'Cut' : 'Cortar',
|
||||
'Paste' : 'Pegar',
|
||||
'Duplicate' : 'Duplicar',
|
||||
'Remove' : 'Eliminar',
|
||||
'Rename' : 'Cambiar nombre',
|
||||
'Edit text file' : 'Editar fichero',
|
||||
'View as icons' : 'Iconos',
|
||||
'View as list' : 'Lista',
|
||||
'Resize image' : 'Tamaño de imagen',
|
||||
'Create archive' : 'Nuevo archivo',
|
||||
'Uncompress archive' : 'Extraer archivo',
|
||||
'Get info' : 'Propiedades',
|
||||
'Help' : 'Ayuda',
|
||||
'Dock/undock filemanager window' : 'Despegar/pegar el gestor de ficheros a la página',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Tamaño máximo del fichero',
|
||||
'Add field' : 'Añadir campo',
|
||||
'File info' : 'Propiedades de fichero',
|
||||
'Folder info' : 'Propiedades de carpeta',
|
||||
'Name' : 'Nombre',
|
||||
'Kind' : 'Tipo',
|
||||
'Size' : 'Tamaño',
|
||||
'Modified' : 'Modificado',
|
||||
'Permissions' : 'Acceso',
|
||||
'Link to' : 'Enlaza con',
|
||||
'Dimensions' : 'Dimensiones',
|
||||
'Confirmation required' : 'Se requiere confirmación',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : '¿Está seguir que desea eliminar el fichero? <br />Esta acción es irreversible.',
|
||||
/* permissions */
|
||||
'read' : 'lectura',
|
||||
'write' : 'escritura',
|
||||
'remove' : 'eliminación',
|
||||
/* dates */
|
||||
'Jan' : 'Ene',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Abr',
|
||||
'May' : 'May',
|
||||
'Jun' : 'Jun',
|
||||
'Jul' : 'Jul',
|
||||
'Aug' : 'Ago',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Oct',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dec',
|
||||
'Today' : 'Hoy',
|
||||
'Yesterday' : 'Ayer',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Desconocido',
|
||||
'Folder' : 'Carpeta',
|
||||
'Alias' : 'Enlace',
|
||||
'Broken alias' : 'Enlace roto',
|
||||
'Plain text' : 'Texto',
|
||||
'Postscript document' : 'Documento postscript',
|
||||
'Application' : 'Aplicación',
|
||||
'Microsoft Office document' : 'Documento Microsoft Office',
|
||||
'Microsoft Word document' : 'Documento Microsoft Word',
|
||||
'Microsoft Excel document' : 'Documento Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Documento Microsoft Powerpoint',
|
||||
'Open Office document' : 'Documento Open Office',
|
||||
'Flash application' : 'Aplicación Flash',
|
||||
'XML document' : 'Documento XML',
|
||||
'Bittorrent file' : 'Fichero bittorrent',
|
||||
'7z archive' : 'Archivo 7z',
|
||||
'TAR archive' : 'Archivo TAR',
|
||||
'GZIP archive' : 'Archivo GZIP',
|
||||
'BZIP archive' : 'Archivo BZIP',
|
||||
'ZIP archive' : 'Archivo ZIP',
|
||||
'RAR archive' : 'Archivo RAR',
|
||||
'Javascript application' : 'Aplicación Javascript',
|
||||
'PHP source' : 'Documento PHP',
|
||||
'HTML document' : 'Documento HTML',
|
||||
'Javascript source' : 'Documento Javascript',
|
||||
'CSS style sheet' : 'Documento CSS',
|
||||
'C source' : 'Documento C',
|
||||
'C++ source' : 'Documento C++',
|
||||
'Unix shell script' : 'Script Unix shell',
|
||||
'Python source' : 'Documento Python',
|
||||
'Java source' : 'Documento Java',
|
||||
'Ruby source' : 'Documento Ruby',
|
||||
'Perl script' : 'Script Perl',
|
||||
'BMP image' : 'Imagen BMP',
|
||||
'JPEG image' : 'Imagen JPEG',
|
||||
'GIF Image' : 'Imagen GIF',
|
||||
'PNG Image' : 'Imagen PNG',
|
||||
'TIFF image' : 'Imagen TIFF',
|
||||
'TGA image' : 'Imagen TGA',
|
||||
'Adobe Photoshop image' : 'Imagen Adobe Photoshop',
|
||||
'MPEG audio' : 'Audio MPEG',
|
||||
'MIDI audio' : 'Audio MIDI',
|
||||
'Ogg Vorbis audio' : 'Audio Ogg Vorbis',
|
||||
'MP4 audio' : 'Audio MP4',
|
||||
'WAV audio' : 'Audio WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Seleccionar todos ficheros',
|
||||
'Copy/Cut/Paste files' : 'Copiar/Cortar/Pegar ficheros',
|
||||
'Open selected file/folder' : 'Abrir carpeta/fichero',
|
||||
'Open/close QuickLook window' : 'Abrir/Cerrar la ventana de vista previa',
|
||||
'Remove selected files' : 'Eliminar ficheros seleccionados',
|
||||
'Selected files or current directory info' : 'Información sobre los ficheros seleccionados en la carpeta actual',
|
||||
'Create new directory' : 'Nueva carpeta',
|
||||
'Open upload files form' : 'Abrir ventana para subir ficheros',
|
||||
'Select previous file' : 'Seleccionar el fichero anterior',
|
||||
'Select next file' : 'Seleccionar el fichero siguiente',
|
||||
'Return into previous folder' : 'Volver a la carpeta anterior',
|
||||
'Increase/decrease files selection' : 'Aumentar/disminuir la selección de ficheros',
|
||||
'Authors' : 'Autores',
|
||||
'Sponsors' : 'Colaboradores',
|
||||
'elFinder: Web file manager' : 'elFinder: Gestor de ficheros para la web',
|
||||
'Version' : 'Versión',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42',
|
||||
'Donate to support project development' : 'Ayuda al desarrollo',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Programación Javascripts/php: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Programación Python, soporte técnico: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Diseño: Valentin Razumnyh',
|
||||
'Spanish localization' : 'Traducción al español',
|
||||
'Icons' : 'Iconos',
|
||||
'License: BSD License' : 'Licencia: BSD License',
|
||||
'elFinder documentation' : 'Documentación elFinder',
|
||||
'Simple and usefull Content Management System' : 'Un CMS sencillo y cómodo',
|
||||
'Support project development and we will place here info about you' : 'Ayude al desarrollo del producto y la información sobre usted aparecerá aqui.',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Pregúntenos si quiere integrar elFinder en su producto.',
|
||||
'elFinder support following shortcuts' : 'elFinder soporta los siguientes atajos de teclado',
|
||||
'helpText' : 'elFinder funciona igual que el gestor de ficheros de su PC. <br />Puede manipular los ficheros con la ayuda del panel superior, el menu o bien con atajos de teclado. Para mover fichero/carpetas simplemente arrastrelos a la carpeta deseada. Si simultáneamente presiona la tecla Shift los ficheros se copiarán.'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
192
simpla/design/js/elfinder/js/i18n/elfinder.fr.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* French translation
|
||||
* @author William Bessat
|
||||
* @aithor anw <antoine.cardiweb@gmail.com>
|
||||
* @version 2011-03-14
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.fr = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Le dossier racine n\'existe pas',
|
||||
'Unable to connect to backend' : 'Impossible de se connecter au backend',
|
||||
'Access denied' : 'Accès refusé',
|
||||
'Invalid backend configuration' : 'Mauvaise configuration du backend',
|
||||
'Unknown command' : 'Commande inconnue',
|
||||
'Command not allowed' : 'Commande non permise',
|
||||
'Invalid parameters' : 'Paramètres non valides',
|
||||
'File not found' : 'Fichier introuvable',
|
||||
'Invalid name' : 'Nom non valide',
|
||||
'File or folder with the same name already exists' : 'Un fichier ou un dossier avec le même nom existe déja',
|
||||
'Unable to rename file' : 'Impossible de renommer le fichier',
|
||||
'Unable to create folder' : 'Impossible de créer le dossier',
|
||||
'Unable to create file' : 'Impossible de créer le fichier',
|
||||
'No file to upload' : 'Aucun fichier a envoyer',
|
||||
'Select at least one file to upload' : 'Sélectionner au moins un fichier a envoyer',
|
||||
'File exceeds the maximum allowed filesize' : 'Le fichier excède la taille maximale autorisée',
|
||||
'Data exceeds the maximum allowed size' : 'Les données excèdent la taille maximale autorisée',
|
||||
'Not allowed file type' : 'Type de fichier non autorisée;',
|
||||
'Unable to upload file' : 'Impossible de télécharger le fichier',
|
||||
'Unable to upload files' : 'Impossible de télécharger les fichiers',
|
||||
'Unable to remove file' : 'Impossible de supprimer le fichier',
|
||||
'Unable to save uploaded file' : 'Impossible de sauver le fichier téléchargé',
|
||||
'Some files was not uploaded' : 'Certains fichiers n\'ont pu être télécharges',
|
||||
'Unable to copy into itself' : 'Copie impossible dans le même dossier',
|
||||
'Unable to move files' : 'Impossible de déplacer les fichiers',
|
||||
'Unable to copy files' : 'Impossible de supprimer les fichiers',
|
||||
'Unable to create file copy' : 'Impossible de créer une copie du fichier',
|
||||
'File is not an image' : 'Ce fichier n\'est pas une image',
|
||||
'Unable to resize image' : 'Impossible de redimensionner cette image',
|
||||
'Unable to write to file' : 'Impossible d\'écrire dans ce fichier',
|
||||
'Unable to create archive' : 'Impossible de créer une archive',
|
||||
'Unable to extract files from archive' : 'Impossible d\'extraire les fichiers de l\'archive',
|
||||
'Unable to open broken link' : 'Ce lien est brisé',
|
||||
'File URL disabled by connector config' : 'URL du fichier désactivé via la configuration du connecteur',
|
||||
/* statusbar */
|
||||
'items' : 'éléments',
|
||||
'selected items' : 'éléments sélectionnés',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Retour',
|
||||
'Reload' : 'Rafraîchir',
|
||||
'Open' : 'Ouvrir',
|
||||
'Preview with Quick Look' : 'Aperçu rapide',
|
||||
'Select file' : 'Sélectionner un fichier',
|
||||
'New folder' : 'Nouveau dossier',
|
||||
'New text file' : 'Nouveau fichier texte',
|
||||
'Upload files' : 'Télécharger des fichiers',
|
||||
'Copy' : 'Copier',
|
||||
'Cut' : 'Couper',
|
||||
'Paste' : 'Coller',
|
||||
'Duplicate' : 'Dupliquer',
|
||||
'Remove' : 'Supprimer',
|
||||
'Rename' : 'Renommer',
|
||||
'Edit text file' : 'Editer le fichier texte',
|
||||
'View as icons' : 'Vue en icônes',
|
||||
'View as list' : 'Vue en liste',
|
||||
'Resize image' : 'Redimensionner l\'image',
|
||||
'Create archive' : 'Nouvelle archive',
|
||||
'Uncompress archive' : 'Extraire de l\'archive',
|
||||
'Get info' : 'Informations',
|
||||
'Help' : 'Aide',
|
||||
'Dock/undock filemanger window' : 'Dock/undock filemanger window',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Taille maximale autorisée des fichiers',
|
||||
'Add field' : 'Ajouter des fichiers',
|
||||
'File info' : 'Propriétés du fichier',
|
||||
'Folder info' : 'Propriétés du dossier',
|
||||
'Name' : 'Nom',
|
||||
'Kind' : 'Type',
|
||||
'Size' : 'Taille',
|
||||
'Modified' : 'Dernière modification',
|
||||
'Permissions' : 'Accès',
|
||||
'Link to' : 'Lien vers',
|
||||
'Dimensions' : 'Dimensions',
|
||||
'Confirmation required' : 'Veuillez confirmer',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Etes-vous sûr de vouloir supprimer le ou les fichier(s) ?<br />Cette action est définitive!',
|
||||
/* permissions */
|
||||
'read' : 'lecture',
|
||||
'write' : 'écriture',
|
||||
'remove' : 'suppression',
|
||||
/* dates */
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Avr',
|
||||
'May' : 'Mai',
|
||||
'Jun' : 'Jui',
|
||||
'Jul' : 'Jul',
|
||||
'Aug' : 'Aou',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Oct',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dec',
|
||||
'Today' : 'Aujourd\'hui',
|
||||
'Yesterday' : 'Hier',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Inconnu',
|
||||
'Folder' : 'Dossier',
|
||||
'Alias' : 'Alias',
|
||||
'Broken alias' : 'Alias brisé',
|
||||
'Plain text' : 'Texte',
|
||||
'Postscript document' : 'Document postscript',
|
||||
'Application' : 'Application' ,
|
||||
'Microsoft Office document' : 'Document Microsoft Office',
|
||||
'Microsoft Word document' : 'Document Microsoft Word',
|
||||
'Microsoft Excel document' : 'Document Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Document Microsoft Powerpoint',
|
||||
'Open Office document' : 'Document Open Office',
|
||||
'Flash application' : 'Application Flash',
|
||||
'XML document' : 'Document XML',
|
||||
'Bittorrent file' : 'Fichier bittorrent',
|
||||
'7z archive' : 'Archive 7z',
|
||||
'TAR archive' : 'Archive TAR',
|
||||
'GZIP archive' : 'Archive GZIP',
|
||||
'BZIP archive' : 'Archive BZIP',
|
||||
'ZIP archive' : 'Archive ZIP',
|
||||
'RAR archive' : 'Archive RAR',
|
||||
'Javascript application' : 'Application Javascript',
|
||||
'PHP source' : 'Document PHP',
|
||||
'HTML document' : 'Document HTML',
|
||||
'Javascript source' : 'Document Javascript',
|
||||
'CSS style sheet' : 'Document CSS',
|
||||
'C source' : 'Document C',
|
||||
'C++ source' : 'Document C++',
|
||||
'Unix shell script' : 'Script Unix shell',
|
||||
'Python source' : 'Document Python',
|
||||
'Java source' : 'Document Java',
|
||||
'Ruby source' : 'Document Ruby',
|
||||
'Perl script' : 'Script Perl',
|
||||
'BMP image' : 'Image BMP',
|
||||
'JPEG image' : 'Image JPEG',
|
||||
'GIF Image' : 'Image GIF',
|
||||
'PNG Image' : 'Image PNG',
|
||||
'TIFF image' : 'Image TIFF',
|
||||
'TGA image' : 'Image TGA',
|
||||
'Adobe Photoshop image' : 'Image Adobe Photoshop',
|
||||
'MPEG audio' : 'Audio MPEG',
|
||||
'MIDI audio' : 'Audio MIDI',
|
||||
'Ogg Vorbis audio' : 'Audio Ogg Vorbis',
|
||||
'MP4 audio' : 'Audio MP4',
|
||||
'WAV audio' : 'Audio WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Selectionner tous les fichiers',
|
||||
'Copy/Cut/Paste files' : 'Copier/Couper/Coller les fichiers',
|
||||
'Open selected file/folder' : 'Ouvrir dossier/fichier',
|
||||
'Open/close QuickLook window' : 'Ouvrir/Fermer l\'aperçu',
|
||||
'Remove selected files' : 'Supprimer les fichiers selectionnés',
|
||||
'Selected files or current directory info' : 'Informations sur les fichiers du dossier courant',
|
||||
'Create new directory' : 'Créer un nouveau dossier',
|
||||
'Open upload files form' : 'Parcourir',
|
||||
'Select previous file' : 'Selectionner le fichier précèdent',
|
||||
'Select next file' : 'Selectionner le fichier suivant',
|
||||
'Return into previous folder' : 'Retour au dossier précèdent',
|
||||
'Increase/decrease files selection' : 'Etendre/diminuer la selection des fichiers',
|
||||
'Authors' : 'Auteurs',
|
||||
'Sponsors' : 'Sponsors',
|
||||
'elFinder: Web file manager' : 'elFinder: Web file manager',
|
||||
'Version' : 'Version',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42',
|
||||
'Donate to support project development' : 'Donner et encourager le développement du projet',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnih',
|
||||
'French localization' : 'Traduction française',
|
||||
'Icons' : 'Icônes',
|
||||
'License: BSD License' : 'License: BSD License',
|
||||
'elFinder documentation' : 'elFinder documentation',
|
||||
'Simple and usefull Content Management System' : 'Simple and usefull Content Management System',
|
||||
'Support project development and we will place here info about you' : 'Soutenez le projet de developpement et nous placerons ici des informations sur vous',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Nous contacter pour vous aider a integrer elfinder a vos produits',
|
||||
'elFinder support following shortcuts' : 'elfinder fonctionne avec les raccourcis suivants',
|
||||
'helpText' : 'elfinder fonctionne comme un gestionnaire de fichiers. Utiliser la barre de menu pour faire des actions sur les fichiers/dossiers. Le survol de la souris sur les boutons donnent des informations sur leur fonction. Le bouton droit de la souris offre aussi des raccourcis contextuels. Pour sélectionner un groupe de fichiers ou de dossiers, faire Shift/Alt au clavier + clique gauche avec la souris.'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
192
simpla/design/js/elfinder/js/i18n/elfinder.hu.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Hungarian translation
|
||||
* @author Viktor Tamas <tamas.viktor@totalstudio.hu>
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.hu = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Gyökér könyvtár nem létezik',
|
||||
'Unable to connect to backend' : 'Nem tudok csatlakozni a backend-hez',
|
||||
'Access denied' : 'Hozzáférés megtagadva',
|
||||
'Invalid backend configuration' : 'Hibás backend konfiguráció',
|
||||
'Unknown command' : 'Ismeretlen parancs',
|
||||
'Command not allowed' : 'Parancs nincs engedélyezve',
|
||||
'Invalid parameters' : 'Hibás paraméterek',
|
||||
'File not found' : 'Nem található a fájl',
|
||||
'Invalid name' : 'Hibás név',
|
||||
'File or folder with the same name already exists' : 'Fájl vagy könyvtár ilyen névvel már létezik',
|
||||
'Unable to rename file' : 'Nem lehet átnevezni a fájlt',
|
||||
'Unable to create folder' : 'Nem lehet új könyvtárt hozzáadni',
|
||||
'Unable to create file' : 'Nem lehet új fájlt hozzáadni',
|
||||
'No file to upload' : 'Nincs kiválasztva feltöltendő fájl',
|
||||
'Select at least one file to upload' : 'Válasszon ki legalább egy fájlt a feltöltéshez!',
|
||||
'File exceeds the maximum allowed filesize' : 'A fájl nagyobb mint a megengedett maximális méret',
|
||||
'Data exceeds the maximum allowed size' : 'Az adat meghaladja a maximális megengedett méretet',
|
||||
'Not allowed file type' : 'Nem engedélyezett fájlt típus',
|
||||
'Unable to upload file' : 'Nem lehet feltölteni a fájlt',
|
||||
'Unable to upload files' : 'Nem lehet feltölteni a fájlokat',
|
||||
'Unable to remove file' : 'Nem lehet eltávolítani a fájlt',
|
||||
'Unable to save uploaded file' : 'Nem lehet lementeni a feltöltött fájlt',
|
||||
'Some files was not uploaded' : 'Több fájl feltöltése sikertelen',
|
||||
'Unable to copy into itself' : 'Nem lehet bemásolni a helyére',
|
||||
'Unable to move files' : 'Nem lehet elmozgatni a fájlokat',
|
||||
'Unable to copy files' : 'Nem lehet elmásolni a fájlokat',
|
||||
'Unable to create file copy' : 'Nem lehet másolatot készíteni a fájlról',
|
||||
'File is not an image' : 'A fájl nem kép',
|
||||
'Unable to resize image' : 'Nem lehet átméretezni a képet',
|
||||
'Unable to write to file' : 'Nem lehet beleírni a fájlba',
|
||||
'Unable to create archive' : 'Nem lehet tömöríteni a fájlt',
|
||||
'Unable to extract files from archive' : 'Nem lehet kitömöríteni a fájlból',
|
||||
'Unable to open broken link' : 'Nem sikerült megnyitni a hibás linket',
|
||||
'File URL disabled by connector config' : 'Fájl URL ki kapcsolva a conncector beállításaiban',
|
||||
/* statusbar */
|
||||
'items' : 'elemek',
|
||||
'selected items' : 'kiválasztott elemek',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Vissza',
|
||||
'Reload' : 'Újratöltés',
|
||||
'Open' : 'Megnyitás',
|
||||
'Preview with Quick Look' : 'Előnézet',
|
||||
'Select file' : 'Fájl kiválasztása',
|
||||
'New folder' : 'Új könyvtár',
|
||||
'New text file' : 'Új szöveges fájl',
|
||||
'Upload files' : 'Fájl feltöltés',
|
||||
'Copy' : 'Másolás',
|
||||
'Cut' : 'Kivágás',
|
||||
'Paste' : 'Beillesztés',
|
||||
'Duplicate' : 'Duplikálás',
|
||||
'Remove' : 'Törlés',
|
||||
'Rename' : 'Átnevezés',
|
||||
'Edit text file' : 'Szöveges fájl módosítása',
|
||||
'View as icons' : 'Ikon nézet',
|
||||
'View as list' : 'Lista nézet',
|
||||
'Resize image' : 'Kép átméretezése',
|
||||
'Create archive' : 'Tömörítés',
|
||||
'Uncompress archive' : 'Kitömörítés',
|
||||
'Get info' : 'Info megtekintése',
|
||||
'Help' : 'Segítség',
|
||||
'Dock/undock filemanager window' : 'Fájlkezelő ablak dokkolása/levlálasztása',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Megengedett maximum fájl méret',
|
||||
'Add field' : 'Fájl hozzáadása',
|
||||
'File info' : 'Fájl info',
|
||||
'Folder info' : 'Könyvtár infó',
|
||||
'Name' : 'Név',
|
||||
'Kind' : 'Kedvenc',
|
||||
'Size' : 'Méret',
|
||||
'Modified' : 'Módosítva',
|
||||
'Permissions' : 'Engedélyek',
|
||||
'Link to' : 'Link',
|
||||
'Dimensions' : 'Dimenziók',
|
||||
'Confirmation required' : 'Megerősítés szükséges',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Biztosan törölni szeretné a fájlokat? <br />A művelet visszavonhatatlan!',
|
||||
/* permissions */
|
||||
'read' : 'olvasás',
|
||||
'write' : 'írás',
|
||||
'remove' : 'törlés',
|
||||
/* dates */
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Már',
|
||||
'Apr' : 'Ápr',
|
||||
'May' : 'Máj',
|
||||
'Jun' : 'Jun',
|
||||
'Jul' : 'Júl',
|
||||
'Aug' : 'Aug',
|
||||
'Sep' : 'Szep',
|
||||
'Oct' : 'Okt',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dec',
|
||||
'Today' : 'Ma',
|
||||
'Yesterday' : 'Tegnap',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Ismeretlen',
|
||||
'Folder' : 'Könyvtár',
|
||||
'Alias' : 'Alias',
|
||||
'Broken alias' : 'Hibás alias',
|
||||
'Plain text' : 'Egyszerű szöveg',
|
||||
'Postscript document' : 'Postscript dokumentum',
|
||||
'Application' : 'Alkalmazás',
|
||||
'Microsoft Office document' : 'Microsoft Office documentum',
|
||||
'Microsoft Word document' : 'Microsoft Word documentum',
|
||||
'Microsoft Excel document' : 'Microsoft Excel documentum',
|
||||
'Microsoft Powerpoint presentation' : 'Microsoft Powerpoint prezentáció',
|
||||
'Open Office document' : 'Open Office dokumentum',
|
||||
'Flash application' : 'Flash alkalmazás',
|
||||
'XML document' : 'XML dokumentum',
|
||||
'Bittorrent file' : 'Bittorrent fájl',
|
||||
'7z archive' : '7z archívum',
|
||||
'TAR archive' : 'TAR archívum',
|
||||
'GZIP archive' : 'GZIP archívum',
|
||||
'BZIP archive' : 'BZIP archívum',
|
||||
'ZIP archive' : 'ZIP archívum',
|
||||
'RAR archive' : 'RAR archívum',
|
||||
'Javascript application' : 'Javascript alkalmazás',
|
||||
'PHP source' : 'PHP forrás',
|
||||
'HTML document' : 'HTML dokumentum',
|
||||
'Javascript source' : 'Javascript forrás',
|
||||
'CSS style sheet' : 'CSS',
|
||||
'C source' : 'C forrás',
|
||||
'C++ source' : 'C++ forrás',
|
||||
'Unix shell script' : 'Unix shell szkript',
|
||||
'Python source' : 'Python forrás',
|
||||
'Java source' : 'Java forrás',
|
||||
'Ruby source' : 'Ruby forrás',
|
||||
'Perl script' : 'Perl szkript',
|
||||
'BMP image' : 'BMP kép',
|
||||
'JPEG image' : 'JPEG kép',
|
||||
'GIF Image' : 'GIF kép',
|
||||
'PNG Image' : 'PNG kép',
|
||||
'TIFF image' : 'TIFF kép',
|
||||
'TGA image' : 'TGA kép',
|
||||
'Adobe Photoshop image' : 'Adobe Photoshop kép',
|
||||
'MPEG audio' : 'MPEG audió',
|
||||
'MIDI audio' : 'MIDI audió',
|
||||
'Ogg Vorbis audio' : 'Ogg Vorbis audió',
|
||||
'MP4 audio' : 'MP4 audió',
|
||||
'WAV audio' : 'WAV audió',
|
||||
'DV video' : 'DV videó',
|
||||
'MP4 video' : 'MP4 videó',
|
||||
'MPEG video' : 'MPEG videó',
|
||||
'AVI video' : 'AVI videó',
|
||||
'Quicktime video' : 'Quicktime videó',
|
||||
'WM video' : 'WM videó',
|
||||
'Flash video' : 'Flash videó',
|
||||
'Matroska video' : 'Matroska videó',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Összes fájl kijelölése',
|
||||
'Copy/Cut/Paste files' : 'Másolás/Kivágás/Beillesztás fájlokon',
|
||||
'Open selected file/folder' : 'Kiválasztott fájl/könyvtár megnyitása',
|
||||
'Open/close QuickLook window' : 'Gyorsnézet ablak megnyitása/lezárása',
|
||||
'Remove selected files' : 'Kijelölt fájlok törlése',
|
||||
'Selected files or current directory info' : 'Kijelölt fájlok vagy könyvtárak infója',
|
||||
'Create new directory' : 'Új könyvtár létrehozása',
|
||||
'Open upload files form' : 'Feltöltött képek megnyitása',
|
||||
'Select previous file' : 'Előző fájl kiválasztása',
|
||||
'Select next file' : 'Következő fájl kiválasztása',
|
||||
'Return into previous folder' : 'Visszatérés az előző könyvtárba',
|
||||
'Increase/decrease files selection' : 'Fájl kijelölés Növelése/csökkentése',
|
||||
'Authors' : 'Készítők',
|
||||
'Sponsors' : 'Szponzor',
|
||||
'elFinder: Web file manager' : 'elFinder: Web fájlkezelő',
|
||||
'Version' : 'Verzió',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42 LTD',
|
||||
'Donate to support project development' : 'Támogasd a projekt fejelsztését',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripts/PHP programozás: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programozás, techsupport: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnih',
|
||||
'Spanish localization' : 'Spanyol fordítás',
|
||||
'Icons' : 'Ikonok',
|
||||
'License: BSD License' : 'Licensz: BSD License',
|
||||
'elFinder documentation' : 'elFinder dokumentáció',
|
||||
'Simple and usefull Content Management System' : 'Egyszerű és hasznos tartalom kezelő rendszer',
|
||||
'Support project development and we will place here info about you' : 'Támogasd a projekt fejlesztését és információt helyezünk ki rólad is.',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Vedd fel a kapcsolatot velünk, ha saját termékbe szeretnéd integrálni az elFinder-t',
|
||||
'elFinder support following shortcuts' : 'elFinder stámogatás a következő linkeken',
|
||||
'helpText' : 'elFinder ugyanúgy működik mint egy fájlkezelő a számítógépén.<br /> Műveleteket hajthat végre fájlokon a felső menü segítségével vagy billentyű parancsokkal. Amennyiben áthelyezne fájlokat/könyvtárakat csak húzza őket a kívánt helyre.'
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
191
simpla/design/js/elfinder/js/i18n/elfinder.it.js
Normal file
@@ -0,0 +1,191 @@
|
||||
/*
|
||||
* Italian translation
|
||||
* @author Ugo Punzolo <sadraczerouno@gmail.com>
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.it = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'La cartella principale (root) non esiste',
|
||||
'Unable to connect to backend' : 'Impossibile stabilire la connessione col server',
|
||||
'Access denied' : 'Accesso negato',
|
||||
'Invalid backend configuration' : 'Configurazione con il server non valida',
|
||||
'Unknown command' : 'Comando sconosciuto',
|
||||
'Command not allowed' : 'Comando non consentito',
|
||||
'Invalid parameters' : 'Parametri non corretti',
|
||||
'File not found' : 'File non trovato',
|
||||
'Invalid name' : 'Nome non corretto',
|
||||
'File or folder with the same name already exists' : 'Esiste già una cartella o un file con lo stesso nome',
|
||||
'Unable to rename file' : 'Impossibile cambiare il nome al file',
|
||||
'Unable to create folder' : 'Impossibile creare la cartella',
|
||||
'Unable to create file' : 'Impossibile creare il file',
|
||||
'No file to upload' : 'Nessun file da caricare',
|
||||
'Select at least one file to upload' : 'Selezionare almeno un file da caricare',
|
||||
'File exceeds the maximum allowed filesize' : 'Il file supera le dimensioni consentite',
|
||||
'Data exceeds the maximum allowed size' : 'I dati superano la grandezza massima consentita',
|
||||
'Not allowed file type' : 'Tipo di file non consentito',
|
||||
'Unable to upload file' : 'Impossibile caricare il file',
|
||||
'Unable to upload files' : 'Impossibile caricare i file',
|
||||
'Unable to remove file' : 'Impossibile eliminare il file',
|
||||
'Unable to save uploaded file' : 'No se ha podido guardar el fichero subido',
|
||||
'Some files was not uploaded' : 'Alcuni file non sono stati caricati',
|
||||
'Unable to copy into itself' : 'Impossibile copiare all\'interno di se stesso',
|
||||
'Unable to move files' : 'Impossibile spostare i file',
|
||||
'Unable to copy files' : 'Impossibile copiare i file',
|
||||
'Unable to create file copy' : 'Impossibile creare una copia del file',
|
||||
'File is not an image' : 'Il file non è un\'immagine',
|
||||
'Unable to resize image' : 'Impossibile ridimensionare l\'immagine',
|
||||
'Unable to write to file' : 'Impossibile scrivere il file',
|
||||
'Unable to create archive' : 'Impossibile creare l\'archivio',
|
||||
'Unable to extract files from archive' : 'Impossibile estrarre i file dall\'archivio',
|
||||
'Unable to open broken link' : 'Impossibile aprire il link corrotto',
|
||||
'File URL disabled by connector config' : 'L\'accesso all\'URL del file è disabilitato dalla configurazione',
|
||||
/* statusbar */
|
||||
'items' : 'oggetti',
|
||||
'selected items' : 'oggetti selezionati',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Indietrp',
|
||||
'Reload' : 'Ricarica',
|
||||
'Open' : 'Apri',
|
||||
'Preview with Quick Look' : 'Anteprima veloce',
|
||||
'Select file' : 'Seleziona file',
|
||||
'New folder' : 'Nuova cartella',
|
||||
'New text file' : 'Nuovo file di testo',
|
||||
'Upload files' : 'Carica file',
|
||||
'Copy' : 'Copia',
|
||||
'Cut' : 'Taglia',
|
||||
'Paste' : 'Incolla',
|
||||
'Duplicate' : 'Duplica',
|
||||
'Remove' : 'Elimina',
|
||||
'Rename' : 'Rinomina',
|
||||
'Edit text file' : 'Edita il file di testo',
|
||||
'View as icons' : 'Mostra come icone',
|
||||
'View as list' : 'Mostra come lista',
|
||||
'Resize image' : 'Ridimensiona immagine',
|
||||
'Create archive' : 'Nuovo archivio',
|
||||
'Uncompress archive' : 'Estrai archivio',
|
||||
'Get info' : 'Proprietà',
|
||||
'Help' : 'Aiuto',
|
||||
'Dock/undock filemanager window' : 'Separa/unisci la finestra del filemanager',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Dimensione massima consentita per il file',
|
||||
'Add field' : 'Aggiungi campo',
|
||||
'File info' : 'Informazioni file',
|
||||
'Folder info' : 'Informazioni cartella',
|
||||
'Name' : 'Nome',
|
||||
'Kind' : 'Tipo',
|
||||
'Size' : 'Grandezza',
|
||||
'Modified' : 'Modificato',
|
||||
'Permissions' : 'Permessi',
|
||||
'Link to' : 'Collega a',
|
||||
'Dimensions' : 'Dimensioni',
|
||||
'Confirmation required' : 'Richiesta una conferma',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Sicuro di voler eliminare il file? <br />Questa azione sarà irreversibile!',
|
||||
/* permissions */
|
||||
'read' : 'lettura',
|
||||
'write' : 'scrittura',
|
||||
'remove' : 'eliminazione',
|
||||
/* dates */
|
||||
'Jan' : 'Gen',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Apr',
|
||||
'May' : 'Mag',
|
||||
'Jun' : 'Giu',
|
||||
'Jul' : 'Lug',
|
||||
'Aug' : 'Ago',
|
||||
'Sep' : 'Set',
|
||||
'Oct' : 'Ott',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dic',
|
||||
'Today' : 'Oggi',
|
||||
'Yesterday' : 'Ieri',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Sconosciuto',
|
||||
'Folder' : 'Cartella',
|
||||
'Alias' : 'Alias',
|
||||
'Broken alias' : 'Alias corrotto',
|
||||
'Plain text' : 'Testo',
|
||||
'Postscript document' : 'Documento postscript',
|
||||
'Application' : 'Aplicazione',
|
||||
'Microsoft Office document' : 'Documento Microsoft Office',
|
||||
'Microsoft Word document' : 'Documento Microsoft Word',
|
||||
'Microsoft Excel document' : 'Documento Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Documento Microsoft Powerpoint',
|
||||
'Open Office document' : 'Documento Open Office',
|
||||
'Flash application' : 'Aplicazione Flash',
|
||||
'XML document' : 'Documento XML',
|
||||
'Bittorrent file' : 'File bittorrent',
|
||||
'7z archive' : 'Archivo 7z',
|
||||
'TAR archive' : 'Archivo TAR',
|
||||
'GZIP archive' : 'Archivo GZIP',
|
||||
'BZIP archive' : 'Archivo BZIP',
|
||||
'ZIP archive' : 'Archivo ZIP',
|
||||
'RAR archive' : 'Archivo RAR',
|
||||
'Javascript application' : 'Aplicazione Javascript',
|
||||
'PHP source' : 'Documento PHP',
|
||||
'HTML document' : 'Documento HTML',
|
||||
'Javascript source' : 'Documento Javascript',
|
||||
'CSS style sheet' : 'Documento CSS',
|
||||
'C source' : 'Documento C',
|
||||
'C++ source' : 'Documento C++',
|
||||
'Unix shell script' : 'Script Unix shell',
|
||||
'Python source' : 'Documento Python',
|
||||
'Java source' : 'Documento Java',
|
||||
'Ruby source' : 'Documento Ruby',
|
||||
'Perl script' : 'Script Perl',
|
||||
'BMP image' : 'Immagine BMP',
|
||||
'JPEG image' : 'Immagine JPEG',
|
||||
'GIF Image' : 'Immagine GIF',
|
||||
'PNG Image' : 'Immagine PNG',
|
||||
'TIFF image' : 'Immagine TIFF',
|
||||
'TGA image' : 'Immagine TGA',
|
||||
'Adobe Photoshop image' : 'Immagine Adobe Photoshop',
|
||||
'MPEG audio' : 'Audio MPEG',
|
||||
'MIDI audio' : 'Audio MIDI',
|
||||
'Ogg Vorbis audio' : 'Audio Ogg Vorbis',
|
||||
'MP4 audio' : 'Audio MP4',
|
||||
'WAV audio' : 'Audio WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : '???????',
|
||||
'Select all files' : 'Seleziona tutti i file',
|
||||
'Copy/Cut/Paste files' : 'Copia/Taglia/Incolla file',
|
||||
'Open selected file/folder' : 'Apri cartella/file selezionato',
|
||||
'Open/close QuickLook window' : 'Apri/Chiudi finestra anteprima',
|
||||
'Remove selected files' : 'Elimina file selezionati',
|
||||
'Selected files or current directory info' : 'Informazioni file elezionati o cartella corrente',
|
||||
'Create new directory' : 'Nuova cartella',
|
||||
'Open upload files form' : 'Apri form per caricare file',
|
||||
'Select previous file' : 'Seleziona file precedente',
|
||||
'Select next file' : 'Seleziona prossimo file',
|
||||
'Return into previous folder' : 'Torna alla cartella precedente',
|
||||
'Increase/decrease files selection' : 'Incrementa/decrementa la selezione dei file',
|
||||
'Authors' : 'Autori',
|
||||
'Sponsors' : 'Colaboradores',
|
||||
'elFinder: Web file manager' : 'elFinder: Web File Manager',
|
||||
'Version' : 'Versione',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42',
|
||||
'Donate to support project development' : 'Dona per supportare lo sviluppo del programma',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Programazione Javascripts/php: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Programazione Python, supporto tecnico: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnyh',
|
||||
'Spanish localization' : 'Traduzione in italiano: ',
|
||||
'Icons' : 'Iconos',
|
||||
'License: BSD License' : 'Licenza: BSD License',
|
||||
'elFinder documentation' : 'Documentazione elFinder',
|
||||
'Simple and usefull Content Management System' : 'Un CMS Semplice e funzionale',
|
||||
'Support project development and we will place here info about you' : 'Sopporta lo sviluppo del software e metteremo qui le informazioni riguardanti te.',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Contattaci se hai bisogno di aiuto per integrare elFinder nei toui prodotti',
|
||||
'elFinder support following shortcuts' : 'elFinder supporta i seguenti tasti di scelta rapida',
|
||||
'helpText' : 'elFinder funziona come un comune filemanager per PC. <br />Puoi manipolare i file tramite il pannello principale, il menu o i tasti di scelta rapida. Per spostare i file o le cartelle è sufficiente trascinarli nella cartella desiderata; se si preme contemporaneamente anche il tasto Shift i file vengono copiati.'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
191
simpla/design/js/elfinder/js/i18n/elfinder.jp.js
Normal file
@@ -0,0 +1,191 @@
|
||||
/*
|
||||
* Japanese translation
|
||||
* @author Tomoaki Yoshida <info@yoshida-studio.jp>
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.jp = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'ルートディレクトリが存在しません',
|
||||
'Unable to connect to backend' : 'バックエンドと接続できません',
|
||||
'Access denied' : 'アクセスが拒否されました',
|
||||
'Invalid backend configuration' : 'バックエンドの設定が正しくありません',
|
||||
'Unknown command' : '未知のコマンドです',
|
||||
'Command not allowed' : '許可されていないコマンドです',
|
||||
'Invalid parameters' : 'パラメータが正しくありません',
|
||||
'File not found' : 'ファイルが見つかりません',
|
||||
'Invalid name' : '名前が正しくありません',
|
||||
'File or folder with the same name already exists' : '同じ名前のファイルまたはフォルダが存在しています',
|
||||
'Unable to rename file' : 'ファイル名を変更できません',
|
||||
'Unable to create folder' : 'フォルダが作成できません',
|
||||
'Unable to create file' : 'ファイルが作成できません',
|
||||
'No file to upload' : 'アップロードするファイルがありません',
|
||||
'Select at least one file to upload' : '少なくとも1つのファイルをアップロードしてください',
|
||||
'File exceeds the maximum allowed filesize' : 'ファイルサイズが最大許容量を超えています',
|
||||
'Data exceeds the maximum allowed size' : 'データが最大許容サイズを超えています',
|
||||
'Not allowed file type' : '許可されていないファイルタイプです',
|
||||
'Unable to upload file' : 'ファイルがアップロードできません',
|
||||
'Unable to upload files' : 'ファイルがアップロードできません',
|
||||
'Unable to remove file' : 'ファイルが削除できません',
|
||||
'Unable to save uploaded file' : 'アップロードされているファイルを保存できません',
|
||||
'Some files was not uploaded' : 'いくつかのファイルがアップロードされていません',
|
||||
'Unable to copy into itself' : '同じフォルダ内にコピーできません',
|
||||
'Unable to move files' : 'ファイルを移動できません',
|
||||
'Unable to copy files' : 'ファイルをコピーできません',
|
||||
'Unable to create file copy' : 'ファイルのコピーが作成できません',
|
||||
'File is not an image' : '画像ファイルではありません',
|
||||
'Unable to resize image' : '画像をリサイズできません',
|
||||
'Unable to write to file' : 'ファイルに書き込むことができません',
|
||||
'Unable to create archive' : 'アーカイブを作成することができません',
|
||||
'Unable to extract files from archive' : 'アーカイブを解凍できません',
|
||||
'Unable to open broken link' : 'リンクが壊れています',
|
||||
'File URL disabled by connector config' : 'connector configでファイルURLが無効にされています',
|
||||
/* statusbar */
|
||||
'items' : 'アイテム',
|
||||
'selected items' : 'アイテム選択',
|
||||
/* commands/buttons */
|
||||
'Back' : '戻る',
|
||||
'Reload' : 'リロード',
|
||||
'Open' : '開く',
|
||||
'Preview with Quick Look' : 'クイックルックで見る',
|
||||
'Select file' : 'ファイル選択',
|
||||
'New folder' : '新しいフォルダ',
|
||||
'New text file' : '新しいテキストファイル',
|
||||
'Upload files' : 'ファイルアップロード',
|
||||
'Copy' : 'コピー',
|
||||
'Cut' : 'カット',
|
||||
'Paste' : 'ペースト',
|
||||
'Duplicate' : '複製',
|
||||
'Remove' : '削除',
|
||||
'Rename' : '名前変更',
|
||||
'Edit text file' : 'テキストファイル編集',
|
||||
'View as icons' : 'アイコン表示',
|
||||
'View as list' : 'リスト表示',
|
||||
'Resize image' : 'イメージリサイズ',
|
||||
'Create archive' : '圧縮',
|
||||
'Uncompress archive' : '解凍',
|
||||
'Get info' : 'プロパティ',
|
||||
'Help' : 'ヘルプ',
|
||||
'Dock/undock filemanager window' : 'ファイルマネージャを出す/しまう',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : '最大許容ファイルサイズ',
|
||||
'Add field' : 'フィールドを加える',
|
||||
'File info' : 'ファイル情報',
|
||||
'Folder info' : 'フォルダ情報',
|
||||
'Name' : '名前',
|
||||
'Kind' : '種類',
|
||||
'Size' : 'サイズ',
|
||||
'Modified' : '修正日時',
|
||||
'Permissions' : 'パーミッション',
|
||||
'Link to' : 'リンク先',
|
||||
'Dimensions' : '画像サイズ',
|
||||
'Confirmation required' : '確認',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'ファイルを削除します。よろしいですか?<br />この操作は取り消しできません!',
|
||||
/* permissions */
|
||||
'read' : '読み取り',
|
||||
'write' : '書き込み',
|
||||
'remove' : '削除',
|
||||
/* dates */
|
||||
'Jan' : '1月',
|
||||
'Feb' : '2月',
|
||||
'Mar' : '3月',
|
||||
'Apr' : '4月',
|
||||
'May' : '5月',
|
||||
'Jun' : '6月',
|
||||
'Jul' : '7月',
|
||||
'Aug' : '8月',
|
||||
'Sep' : '9月',
|
||||
'Oct' : '10月',
|
||||
'Nov' : '11月',
|
||||
'Dec' : '12月',
|
||||
'Today' : '今日',
|
||||
'Yesterday' : '昨日',
|
||||
/* mimetypes */
|
||||
'Unknown' : '不明',
|
||||
'Folder' : 'フォルダ',
|
||||
'Alias' : 'エイリアス',
|
||||
'Broken alias' : '壊れたエイリアス',
|
||||
'Plain text' : 'プレーンテキスト',
|
||||
'Postscript document' : 'Postscript ドキュメント',
|
||||
'Application' : 'アプリケーション',
|
||||
'Microsoft Office document' : 'Microsoft Office ドキュメント',
|
||||
'Microsoft Word document' : 'Microsoft Word ドキュメント',
|
||||
'Microsoft Excel document' : 'Microsoft Excel ドキュメント',
|
||||
'Microsoft Powerpoint presentation' : 'Microsoft Powerpoint ドキュメント',
|
||||
'Open Office document' : 'Open Officeドキュメント',
|
||||
'Flash application' : 'Flash アプリケーション',
|
||||
'XML document' : 'XML ドキュメント',
|
||||
'Bittorrent file' : 'Bittorrent ファイル',
|
||||
'7z archive' : '7z 形式',
|
||||
'TAR archive' : 'TAR 形式',
|
||||
'GZIP archive' : 'GZIP 形式',
|
||||
'BZIP archive' : 'BZIP 形式',
|
||||
'ZIP archive' : 'ZIP 形式',
|
||||
'RAR archive' : 'RAR 形式',
|
||||
'Javascript application' : 'Javascript アプリケーション',
|
||||
'PHP source' : 'PHP ソース',
|
||||
'HTML document' : 'HTML ドキュメント',
|
||||
'Javascript source' : 'Javascript ソース',
|
||||
'CSS style sheet' : 'CSS',
|
||||
'C source' : 'C ソース',
|
||||
'C++ source' : 'C++ ソース',
|
||||
'Unix shell script' : 'Unix shell スクリプト',
|
||||
'Python source' : 'Python ソース',
|
||||
'Java source' : 'Java ソース',
|
||||
'Ruby source' : 'Ruby ソース',
|
||||
'Perl script' : 'Perl スクリプト',
|
||||
'BMP image' : 'BMP イメージ',
|
||||
'JPEG image' : 'JPEG イメージ',
|
||||
'GIF Image' : 'GIF イメージ',
|
||||
'PNG Image' : 'PNG イメージ',
|
||||
'TIFF image' : 'TIFF イメージ',
|
||||
'TGA image' : 'TGA イメージ',
|
||||
'Adobe Photoshop image' : 'Adobe Photoshop イメージ',
|
||||
'MPEG audio' : 'MPEG オーディオ',
|
||||
'MIDI audio' : 'MIDI オーディオ',
|
||||
'Ogg Vorbis audio' : 'Ogg Vorbis オーディオ',
|
||||
'MP4 audio' : 'MP4 オーディオ',
|
||||
'WAV audio' : 'WAV オーディオ',
|
||||
'DV video' : 'DV ビデオ',
|
||||
'MP4 video' : 'MP4 ビデオ',
|
||||
'MPEG video' : 'MPEG ビデオ',
|
||||
'AVI video' : 'AVI ビデオ',
|
||||
'Quicktime video' : 'Quicktime ビデオ',
|
||||
'WM video' : 'WM ビデオ',
|
||||
'Flash video' : 'Flash ビデオ',
|
||||
'Matroska video' : 'Matroska ビデオ',
|
||||
// 'Shortcuts' : 'ショートカット',
|
||||
'Select all files' : '全てのファイルを選択',
|
||||
'Copy/Cut/Paste files' : 'ファイルのコピー/カット/ペースト',
|
||||
'Open selected file/folder' : '選択されたファイル/フォルダを開く',
|
||||
'Open/close QuickLook window' : 'クイックルックウィンドウを開く/閉じる',
|
||||
'Remove selected files' : '選択されたファイルを削除',
|
||||
'Selected files or current directory info' : '選択されたファイルまたは現在のディレクトリの情報',
|
||||
'Create new directory' : '新しいディレクトリを作成',
|
||||
'Open upload files form' : 'ファイルアップロードウィンドウを開く',
|
||||
'Select previous file' : '前のファイルを選択',
|
||||
'Select next file' : '次のファイルを選択',
|
||||
'Return into previous folder' : '前のフォルダへ戻る',
|
||||
'Increase/decrease files selection' : 'ファイルの選択を増やす/減らす',
|
||||
'Authors' : 'Authors',
|
||||
'Sponsors' : 'Sponsors',
|
||||
'elFinder: Web file manager' : 'elFinder: Web file manager',
|
||||
'Version' : 'Version',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42 LTD',
|
||||
'Donate to support project development' : 'Donate to support project development',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnih',
|
||||
'Spanish localization' : 'Spanish localization',
|
||||
'Icons' : 'Icons',
|
||||
'License: BSD License' : 'License: BSD License',
|
||||
'elFinder documentation' : 'elFinder documentation',
|
||||
'Simple and usefull Content Management System' : 'Simple and usefull Content Management System',
|
||||
'Support project development and we will place here info about you' : 'プロジェクトをサポートしてあなたの情報をここに刻みましょう。',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'あなたの商品にelFinderを組み込む際に助力が必要な際は私たちにご連絡ください',
|
||||
'elFinder support following shortcuts' : 'elFinderでは次のショートカットが利用できます',
|
||||
'helpText' : 'elFinderはあなたのコンピュータのファイルマネージャ的な動作をします。<br />上部パネルのアイコンでファイル/フォルダの操作をします。アイコンにマウスカーソルを合わせるとヒントが表示されます。<br />elFinder内のファイルやフォルダを操作するには右クリックで表示されるメニューを使用します。<br />複数のファイルやフォルダをコピーまたは削除するには、Shift/Alt(Command)を押しながら左クリックをします。'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
192
simpla/design/js/elfinder/js/i18n/elfinder.lv.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/**
|
||||
* Latvian translation
|
||||
* @author Uldis Plotiņš <uldis.plotins@gmail.com>
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.lv = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Saknes direktorija neeksistē',
|
||||
'Unable to connect to backend' : 'Neizdevās savienoties ar serveri',
|
||||
'Access denied' : 'Pieeja liegta',
|
||||
'Invalid backend configuration' : 'Nekorekta servera atbilde',
|
||||
'Unknown command' : 'Nezināma komanda',
|
||||
'Command not allowed' : 'Komandas izpilde liegta',
|
||||
'Invalid parameters' : 'Nekorekti parametri',
|
||||
'File not found' : 'Fails netika atrasts',
|
||||
'Invalid name' : 'Nekorekts vārds',
|
||||
'File or folder with the same name already exists' : 'Fails vai direktorija ar šādu nosaukumu jau eksistē',
|
||||
'Unable to rename file' : 'Neizdevās pārsaukt failu',
|
||||
'Unable to create folder' : 'Neizdevās izveidot direktoriju',
|
||||
'Unable to create file' : 'Neizdevās izveidot failu',
|
||||
'No file to upload' : 'Nav failu augšupielādēšanai',
|
||||
'Select at least one file to upload' : 'Izvēlieties vismaz vienu failu augšupielādēšanai',
|
||||
'File exceeds the maximum allowed filesize' : 'Faila izmērs ir lielāks ar maksimāli atļaujamo',
|
||||
'Data exceeds the maximum allowed size' : 'Datu apjoms pārsniedza maksimāli atļaujamo',
|
||||
'Not allowed file type' : 'Neatļauts faila tips',
|
||||
'Unable to upload file' : 'Neizdevās augšupielādēt failu',
|
||||
'Unable to upload files' : 'Neizdevās augšupielādēt failus',
|
||||
'Unable to remove file' : 'Neizdevās dzēst failu',
|
||||
'Unable to save uploaded file' : 'Augšupielādēto failu saglabāt neizdevās',
|
||||
'Some files was not uploaded' : 'Dažus failus augšupielādēt neizdevās',
|
||||
'Unable to copy into itself' : 'Kopēt sevī nav iespējams',
|
||||
'Unable to move files' : 'Neizdevās pārvietot failus',
|
||||
'Unable to copy files' : 'Kopēt failus neizdevās',
|
||||
'Unable to create file copy' : 'Faila kopiju izveidot neizdevās',
|
||||
'File is not an image' : 'Dotais fails nav attēls',
|
||||
'Unable to resize image' : 'Attēla izmēra maiņa neizevās',
|
||||
'Unable to write to file' : 'Ierakstīt failā neizdevās',
|
||||
'Unable to create archive' : 'Izveidot arhīvu neizdevās',
|
||||
'Unable to extract files from archive' : 'Izdabūt failus no arhīva neizdevās',
|
||||
'Unable to open broken link' : 'Neizdevās atvērt sasistu saiti',
|
||||
'File URL disabled by connector config' : 'Atbilstoši konektora iestatījumiem pieeja failu adresēm ir liegta',
|
||||
/* statusbar */
|
||||
'items' : 'objekti',
|
||||
'selected items' : 'izvēlētie objekti',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Atpakaļ',
|
||||
'Reload' : 'Atjaunot',
|
||||
'Open' : 'Atvērt',
|
||||
'Preview with Quick Look' : 'Ātrs caurskats',
|
||||
'Select file' : 'Izvēlēties failu',
|
||||
'New folder' : 'Jauna direktorija',
|
||||
'New text file' : 'Jauns fails',
|
||||
'Upload files' : 'Augšupielādēt failus',
|
||||
'Copy' : 'Kopēt',
|
||||
'Cut' : 'Izgriezt',
|
||||
'Paste' : 'Ievietot',
|
||||
'Duplicate' : 'Dublēt',
|
||||
'Remove' : 'Dzēst',
|
||||
'Rename' : 'Pārsaukt',
|
||||
'Edit text file' : 'Rediģēt teksta failu',
|
||||
'View as icons' : 'Ikonas',
|
||||
'View as list' : 'Saraksts',
|
||||
'Resize image' : 'Attēlu izmērs',
|
||||
'Create archive' : 'Jauns arhīvs',
|
||||
'Uncompress archive' : 'Atvērt arhīvu',
|
||||
'Get info' : 'Saņemt informāciju',
|
||||
'Help' : 'Palīdzība',
|
||||
'Dock/undock filemanager window' : 'Atvienot/pievienot failu pārvaldnieku lapai',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maksimālais atļautais failu izmērs',
|
||||
'Add field' : 'Pievienot lauku',
|
||||
'File info' : 'Faila īpašības',
|
||||
'Folder info' : 'Direktorijas īpašības',
|
||||
'Name' : 'Vārds',
|
||||
'Kind' : 'Veids',
|
||||
'Size' : 'Izmērs',
|
||||
'Modified' : 'Mainīts',
|
||||
'Permissions' : 'Pieejas tiesības',
|
||||
'Link to' : 'Uzrāda uz',
|
||||
'Dimensions' : 'Atļauja',
|
||||
'Confirmation required' : 'Nepieciešas apstiprinājums',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Vai tiešām vēlaties dzēst failus? <br />Darbība neatgriezināma.',
|
||||
/* permissions */
|
||||
'read' : 'rasīšana',
|
||||
'write' : 'rakstīšana',
|
||||
'remove' : 'dzēšana',
|
||||
/* dates */
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Маr',
|
||||
'Apr' : 'Аpr',
|
||||
'May' : 'Mai',
|
||||
'Jun' : 'Jūn',
|
||||
'Jul' : 'Jūl',
|
||||
'Aug' : 'Aug',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Okt',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dec',
|
||||
'Today' : 'Šodien',
|
||||
'Yesterday' : 'Vakar',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Nezināms',
|
||||
'Folder' : 'Direktorija',
|
||||
'Alias' : 'Saite',
|
||||
'Broken alias' : 'Sasista saite',
|
||||
'Plain text' : 'Parasts teksts',
|
||||
'Postscript document' : 'Postscript dokuments',
|
||||
'Application' : 'Pielikums',
|
||||
'Microsoft Office document' : 'Microsoft Office dokuments',
|
||||
'Microsoft Word document' : 'Microsoft Word dokuments',
|
||||
'Microsoft Excel document' : 'Microsoft Excel dokuments',
|
||||
'Microsoft Powerpoint presentation' : 'Microsoft Powerpoint prezentācija',
|
||||
'Open Office document' : 'Open Office dokuments',
|
||||
'Flash application' : 'Flash pielikums',
|
||||
'XML document' : 'XML dokuments',
|
||||
'Bittorrent file' : 'Bittorrent fails',
|
||||
'7z archive' : '7z arhīvs',
|
||||
'TAR archive' : 'TAR arhīvs',
|
||||
'GZIP archive' : 'GZIP arhīvs',
|
||||
'BZIP archive' : 'BZIP arhīvs',
|
||||
'ZIP archive' : 'ZIP arhīvs',
|
||||
'RAR archive' : 'RAR arhīvs',
|
||||
'Javascript application' : 'Javascript pielikums',
|
||||
'PHP source' : 'PHP izejas kods',
|
||||
'HTML document' : 'HTML dokuments',
|
||||
'Javascript source' : 'Javascript izejas kods',
|
||||
'CSS style sheet' : 'CSS stilu tabula',
|
||||
'C source' : 'C izejas kods',
|
||||
'C++ source' : 'C++ izejas kods',
|
||||
'Unix shell script' : 'Unix shell skripts',
|
||||
'Python source' : 'Python izejas kods',
|
||||
'Java source' : 'Java izejas kods',
|
||||
'Ruby source' : 'Ruby izejas kods',
|
||||
'Perl script' : 'Perl skripts',
|
||||
'BMP image' : 'BMP attēls',
|
||||
'JPEG image' : 'JPEG attēls',
|
||||
'GIF Image' : 'GIF attēls',
|
||||
'PNG Image' : 'PNG attēls',
|
||||
'TIFF image' : 'TIFF attēls',
|
||||
'TGA image' : 'TGA attēls',
|
||||
'Adobe Photoshop image' : 'Adobe Photoshop attēls',
|
||||
'MPEG audio' : 'MPEG audio',
|
||||
'MIDI audio' : 'MIDI audio',
|
||||
'Ogg Vorbis audio' : 'Ogg Vorbis audio',
|
||||
'MP4 audio' : 'MP4 audio',
|
||||
'WAV audio' : 'WAV audio',
|
||||
'DV video' : 'DV video',
|
||||
'MP4 video' : 'MP4 video',
|
||||
'MPEG video' : 'MPEG video',
|
||||
'AVI video' : 'AVI video',
|
||||
'Quicktime video' : 'Quicktime video',
|
||||
'WM video' : 'WM video',
|
||||
'Flash video' : 'Flash video',
|
||||
'Matroska video' : 'Matroska video',
|
||||
// 'Shortcuts' : 'Taustiņi',
|
||||
'Select all files' : 'Atzīmēt visus failus',
|
||||
'Copy/Cut/Paste files' : 'Kopēt/Izgriezt/Ievietot failus',
|
||||
'Open selected file/folder' : 'Atvērt izvēlēto direktoriju/failu',
|
||||
'Open/close QuickLook window' : 'Atvērt/aizvērt ātrās apskates logu',
|
||||
'Remove selected files' : 'Dzēst atzīmētos failus',
|
||||
'Selected files or current directory info' : 'Informācija par atzīmētajiem failiem vai esošo direktoriju',
|
||||
'Create new directory' : 'Jauna mape',
|
||||
'Open upload files form' : 'Atvērt failu augšupielādes logu',
|
||||
'Select previous file' : 'Izvēlēties iepriekšējo failu',
|
||||
'Select next file' : 'Izvēlēties nākamo failu',
|
||||
'Return into previous folder' : 'Atgriezties iepriekšējā direktorijā',
|
||||
'Increase/decrease files selection' : 'Palielināt/samazināt iezīmēto failu skaitu',
|
||||
'Authors' : 'Autori',
|
||||
'Sponsors' : 'Sponsori',
|
||||
'elFinder: Web file manager' : 'elFinder: Failu pārvaldnieks priekš Web',
|
||||
'Version' : 'Versija',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studija 42',
|
||||
'Donate to support project development' : 'Atbalstiet izstrādi',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripts/php programmēšana: Dmitrijs (dio) Levašovs, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programmēšana, tehniskā uzturēšana: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Dizains: Valentīns Razumnihs',
|
||||
'Spanish localization' : 'Spāņu lokalizācija',
|
||||
'Icons' : 'Иконки',
|
||||
'License: BSD License' : 'Licence: BSD License',
|
||||
'elFinder documentation' : 'elFinder dokumentācija',
|
||||
'Simple and usefull Content Management System' : 'Ērta un vienkārša Satura Pārvaldes sistēma',
|
||||
'Support project development and we will place here info about you' : 'Atbalstiet produkta izstrādi un mēs šeit ievietosim informāciju par jums.',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Ja ir nepieciešama palīdzība jūsu produktu integrācijā ar elFinder, tad sazinieties ar mums.',
|
||||
'elFinder support following shortcuts' : 'elFinder atbalsta sekojošas taustiņu kombinācijas',
|
||||
'helpText' : 'elFinder darbojas līdzīgi jūsu datora failu pārvaldniekam.<br />Veikt manipulācijas ar failiem iespējams ar augšējā paneļa pogām, konteksta izvēlnes palī∂zību vai taustiņu kombinācijām. Lai pārvietot failus/direktorijas, vienkārši pārnesiet tos/tās uz nepieciešamās direktorijas ikonas. Ja tajā brīdī būs nospiests Shift taustiņš, tad faili tiks kopēti.'
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
190
simpla/design/js/elfinder/js/i18n/elfinder.nl.js
Normal file
@@ -0,0 +1,190 @@
|
||||
/**
|
||||
* Dutch translation
|
||||
* @author Kurt Aerts
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.nl = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Root map bestaat niet',
|
||||
'Unable to connect to backend' : 'Kon niet verbinden met backend',
|
||||
'Access denied' : 'Geen toegang',
|
||||
'Invalid backend configuration' : 'Foute backend configuratie',
|
||||
'Unknown command' : 'Niet gekend commando',
|
||||
'Command not allowed' : 'Commando niet toegestaan',
|
||||
'Invalid parameters' : 'Foute parameters',
|
||||
'File not found' : 'Bestand niet gevonden',
|
||||
'Invalid name' : 'Foute naam',
|
||||
'File or folder with the same name already exists' : 'Bestand of folder met deze naam bestaat al',
|
||||
'Unable to rename file' : 'Niet mogegelijk om bestand te hernoemen',
|
||||
'Unable to create folder' : 'Niet mogelijk om folder te maken',
|
||||
'Unable to create file' : 'Niet mogelijk om bestand aan te maken',
|
||||
'No file to upload' : 'Geen bestand om te uploaden',
|
||||
'Select at least one file to upload' : 'Selecteer op zijn minst een bestand om te uploaden',
|
||||
'File exceeds the maximum allowed filesize' : 'Bestand overschrijft de maximum toegekaten bestandsgrote',
|
||||
'Not allowed file type' : 'Niet toegelaten bestandstype',
|
||||
'Unable to upload file' : 'Niet mogelijk om bestand te uploaden',
|
||||
'Unable to upload files' : 'Niet mogelijk om bestanden te uploaden',
|
||||
'Unable to remove file' : 'Bestand verwijderen is onmogelijk',
|
||||
'Unable to save uploaded file' : 'Geuploaden bestand kon niet bewaard worden',
|
||||
'Some files was not uploaded' : 'Sommige bestanden zijn niet geupload',
|
||||
'Unable to copy into itself' : 'Niet mogelijk om inzichg zelf te kopieeren',
|
||||
'Unable to move files' : 'Niet mogelijk om bestanden te verplaatsen',
|
||||
'Unable to copy files' : 'Niet mogelijk om bestanden te kopieeren',
|
||||
'Unable to create file copy' : 'Niet mogelijk om kopie van bestand te maken',
|
||||
'File is not an image' : 'Bestand is geen afbeelding',
|
||||
'Unable to resize image' : 'Niet mogelijk afbeelding te schalen',
|
||||
'Unable to write to file' : 'Niet mogelijk naar bestand te schrijven',
|
||||
'Unable to create archive' : 'Niet mogelijk archief te creeëren',
|
||||
'Unable to extract files from archive' : 'Niet mogelijk bestanden uit te pakken',
|
||||
'Unable to open broken link' : 'Niet mogelijk .. url te openen',
|
||||
'File URL disabled by connector config' : 'Bestands url is niet ingeschakeld in de backend configuratie',
|
||||
/* statusbar */
|
||||
'items' : '',
|
||||
'selected items' : 'Geselecteerde items',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Terug',
|
||||
'Reload' : 'Herlaad',
|
||||
'Open' : 'Openen',
|
||||
'Preview with Quick Look' : 'Voorbeeld met Quick Look',
|
||||
'Select file' : 'Selecteer bestand',
|
||||
'New folder' : 'Nieuwe folder',
|
||||
'New text file' : 'Nieuw tekstbestand',
|
||||
'Upload files' : 'Upload bestanden',
|
||||
'Copy' : 'Kopieer',
|
||||
'Cut' : 'Knip',
|
||||
'Paste' : 'Plak',
|
||||
'Duplicate' : 'Directe kopie',
|
||||
'Remove' : 'Verwijder',
|
||||
'Rename' : 'Hernoem',
|
||||
'Edit text file' : 'Bewerk tekst bestand',
|
||||
'View as icons' : 'Bekijk als icon',
|
||||
'View as list' : 'Bekijk als lijst',
|
||||
'Resize image' : 'Afbeelding schalen',
|
||||
'Create archive' : 'Maak archief',
|
||||
'Uncompress archive' : 'Uitpakken archief',
|
||||
'Get info' : 'Verkrijg info',
|
||||
'Help' : 'Help',
|
||||
'Dock/undock filemanager window' : '',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maximum toegelaten bestandsgrote',
|
||||
'Add field' : 'Toevoegen veld',
|
||||
'File info' : 'Bestandsinfo',
|
||||
'Folder info' : 'Map info',
|
||||
'Name' : 'Naam',
|
||||
'Kind' : 'Type',
|
||||
'Size' : 'Grootte',
|
||||
'Modified' : 'Aangepast',
|
||||
'Permissions' : 'Toestemmingen',
|
||||
'Link to' : 'Link naar',
|
||||
'Dimensions' : 'Formaat',
|
||||
'Confirmation required' : 'Bevestiging verplicht',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Ben je zeker dat je deze bestanden wilt verwijderen?<br />Dit kan niet ongedaan gemaakt worden!',
|
||||
/* permissions */
|
||||
'read' : 'lees',
|
||||
'write' : 'schrijf',
|
||||
'remove' : 'verwijder',
|
||||
/* dates */
|
||||
'Jan' : '',
|
||||
'Feb' : '',
|
||||
'Mar' : '',
|
||||
'Apr' : '',
|
||||
'May' : '',
|
||||
'Jun' : '',
|
||||
'Jul' : '',
|
||||
'Aug' : '',
|
||||
'Sep' : '',
|
||||
'Oct' : '',
|
||||
'Nov' : '',
|
||||
'Dec' : '',
|
||||
'Today' : 'Vandaag',
|
||||
'Yesterday' : 'Gisteren',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Onbekend',
|
||||
'Folder' : 'Map',
|
||||
'Alias' : '',
|
||||
'Broken alias' : '',
|
||||
'Plain text' : '',
|
||||
'Postscript document' : '',
|
||||
'Application' : 'Applicatie',
|
||||
'Microsoft Office document' : '',
|
||||
'Microsoft Word document' : '',
|
||||
'Microsoft Excel document' : '',
|
||||
'Microsoft Powerpoint presentation' : '',
|
||||
'Open Office document' : '',
|
||||
'Flash application' : '',
|
||||
'XML document' : '',
|
||||
'Bittorrent file' : 'Bittorrent bestand',
|
||||
'7z archive' : '',
|
||||
'TAR archive' : 'TAR archief',
|
||||
'GZIP archive' : 'GZIP archief',
|
||||
'BZIP archive' : 'BZIP archief',
|
||||
'ZIP archive' : 'ZIP archief',
|
||||
'RAR archive' : 'RAR archief',
|
||||
'Javascript application' : 'Javascript applicatie',
|
||||
'PHP source' : 'PHP code',
|
||||
'HTML document' : 'HTML document',
|
||||
'Javascript source' : 'Javascript code',
|
||||
'CSS style sheet' : 'CSS style sheet',
|
||||
'C source' : 'C code',
|
||||
'C++ source' : 'C++ code',
|
||||
'Unix shell script' : '',
|
||||
'Python source' : 'Python code',
|
||||
'Java source' : 'Java code',
|
||||
'Ruby source' : 'Ruby code',
|
||||
'Perl script' : 'Perl code',
|
||||
'BMP image' : 'BMP afbeelding',
|
||||
'JPEG image' : 'JPEG afbeelding',
|
||||
'GIF Image' : 'GIF afbeelding',
|
||||
'PNG Image' : 'PNG afbeelding',
|
||||
'TIFF image' : 'TIFF afbeelding',
|
||||
'TGA image' : 'TGA afbeelding',
|
||||
'Adobe Photoshop image' : 'Adobe Photoshop afbeelding',
|
||||
'MPEG audio' : 'MPEG geluidsfragment',
|
||||
'MIDI audio' : 'MIDI geluidsfragment',
|
||||
'Ogg Vorbis audio' : 'Ogg Vorbis geluidsfragment',
|
||||
'MP4 audio' : 'MP4 geluidsfragment',
|
||||
'WAV audio' : 'WAV geluidsfragment',
|
||||
'DV video' : 'DV videofragment',
|
||||
'MP4 video' : 'MP4 videofragment',
|
||||
'MPEG video' : 'MPEG videofragment',
|
||||
'AVI video' : 'AVI videofragment',
|
||||
'Quicktime video' : 'Quicktime videofragment',
|
||||
'WM video' : 'WM videofragment',
|
||||
'Flash video' : 'Flash videofragment',
|
||||
'Matroska video' : 'Matroska videofragment',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Selecteer alle bestanden',
|
||||
'Copy/Cut/Paste files' : 'Kopieer/Knip/Plak bestanden',
|
||||
'Open selected file/folder' : 'Open geselecteerd bestand/folder',
|
||||
'Open/close QuickLook window' : 'Open/sluit quicklook venster',
|
||||
'Remove selected files' : 'Verwijder geselecteerde bestanden',
|
||||
'Selected files or current directory info' : 'Selecteer bestanden of huidige map info',
|
||||
'Create new directory' : 'Maak nieuwe map',
|
||||
'Open upload files form' : 'Open upload bestanden formulier',
|
||||
'Select previous file' : 'Selecteer vorige bestand',
|
||||
'Select next file' : 'Selecteer volgend bestand',
|
||||
'Return into previous folder' : 'Ga terug in vorige folder',
|
||||
'Increase/decrease files selection' : 'Verhoog/verlaag bestands selectie',
|
||||
'Authors' : 'Auteur',
|
||||
'Sponsors' : '',
|
||||
'elFinder: Web file manager' : 'elFinder: Web Bestandsmanager',
|
||||
'Version' : 'Versie',
|
||||
'Copyright: Studio 42 LTD' : '',
|
||||
'Donate to support project development' : '',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : '',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : '',
|
||||
'Design: Valentin Razumnih' : 'Ontwerp: Valentin Razumnih',
|
||||
'Spanish localization' : '',
|
||||
'Icons' : 'Icoons',
|
||||
'License: BSD License' : 'Licentie: BSD Licentie',
|
||||
'elFinder documentation' : 'elFinder documentatie',
|
||||
'Simple and usefull Content Management System' : 'Simpel en handig inhouds management',
|
||||
'Support project development and we will place here info about you' : 'Steun project ontwikkeling en we plaatsen hier info over jou',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Neem contact met ons op indien je onze hulp nodig hebt bij het integreren van elFinder in jou producten.',
|
||||
'helpText' : ''
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
280
simpla/design/js/elfinder/js/i18n/elfinder.no.js
Normal file
@@ -0,0 +1,280 @@
|
||||
/**
|
||||
* Norwegian translation
|
||||
* @author Stian Jacobsen <stian@promonorge.no>
|
||||
* @version 2012-07-03
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.no = {
|
||||
translator : 'Stian Jacobsen <stian@promonorge.no>',
|
||||
language : 'Norwegian Bokmål',
|
||||
direction : 'ltr',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'Feil',
|
||||
'errUnknown' : 'Ukjent feil.',
|
||||
'errUnknownCmd' : 'Ukjent kommando.',
|
||||
'errJqui' : 'Ugyldig jQuery UI konfigurasjon. Selectable, draggable og droppable komponentene må være inkludert.',
|
||||
'errNode' : 'elFinder påkrever at DOM Elementer kan opprettes.',
|
||||
'errURL' : 'Ugyldig elFinder konfigurasjon! URL-valget er ikke satt.',
|
||||
'errAccess' : 'Ingen adgang.',
|
||||
'errConnect' : 'Kunne ikke koble til.',
|
||||
'errAbort' : 'Tilkoblingen avbrutt.',
|
||||
'errTimeout' : 'Tilkoblingen tidsavbrudd.',
|
||||
'errNotFound' : 'Backend ble ikke funnet',
|
||||
'errResponse' : 'Ugyldig backend respons.',
|
||||
'errConf' : 'Ugyldig backend konfigurasjon.',
|
||||
'errJSON' : 'PHP JSON modul er ikke installert.',
|
||||
'errNoVolumes' : 'Lesbar volum er ikke tilgjennelig.',
|
||||
'errCmdParams' : 'Ugyldig parameter for kommando "$1".',
|
||||
'errDataNotJSON' : 'Innhold er ikke JSON.',
|
||||
'errDataEmpty' : 'Innholdet er tomt.',
|
||||
'errCmdReq' : 'Backend spørringen påkrever kommando.',
|
||||
'errOpen' : 'Kunne ikke åpne "$1".',
|
||||
'errNotFolder' : 'Objektet er ikke en mappe.',
|
||||
'errNotFile' : 'Objektet er ikke en fil.',
|
||||
'errRead' : 'Kunne ikke lese "$1".',
|
||||
'errWrite' : 'Kunne ikke skrive til "$1".',
|
||||
'errPerm' : 'Du har ikke rettigheter.',
|
||||
'errLocked' : '"$1" er låst og kan ikke flyttes, slettes eller endres',
|
||||
'errExists' : 'Filen "$1" finnes allerede.',
|
||||
'errInvName' : 'Ugyldig filnavn.',
|
||||
'errFolderNotFound' : 'Mappen finnes ikke.',
|
||||
'errFileNotFound' : 'Filen finnes ikke.',
|
||||
'errTrgFolderNotFound' : 'Målmappen "$1" ble ikke funnet.',
|
||||
'errPopup' : 'Nettleseren din blokkerte et pop-up vindu. For å åpne filen må du aktivere pop-up i din nettlesers innstillinger.',
|
||||
'errMkdir' : 'Kunne ikke opprette mappen "$1".',
|
||||
'errMkfile' : 'Kunne ikke opprette filen "$1".',
|
||||
'errRename' : 'Kunne ikke gi nytt navn til "$1".',
|
||||
'errCopyFrom' : 'Kopiere filer fra "$1" er ikke tillatt.',
|
||||
'errCopyTo' : 'Kopiere filer til "$1" er ikke tillatt.',
|
||||
'errUploadCommon' : 'Feil under opplasting.',
|
||||
'errUpload' : 'Kunne ikke laste opp "$1".',
|
||||
'errUploadNoFiles' : 'Ingen filer funnet til opplasting.',
|
||||
'errMaxSize' : 'Innholdet overgår maksimum tillatt størrelse.',
|
||||
'errFileMaxSize' : 'Filen vergår maksimum tillatt størrelse.',
|
||||
'errUploadMime' : 'Filtypen ikke tillatt.',
|
||||
'errUploadTransfer' : '"$1" overførings feil.',
|
||||
'errSave' : 'Kunne ikke lagre "$1".',
|
||||
'errCopy' : 'Kunne ikke kopiere "$1".',
|
||||
'errMove' : 'Kunne ikke flytte "$1".',
|
||||
'errCopyInItself' : 'Kunne ikke kopiere "$1" til seg selv.',
|
||||
'errRm' : 'Kunne ikke slette "$1".',
|
||||
'errExtract' : 'Kunne ikke pakke ut filer fra "$1".',
|
||||
'errArchive' : 'Kunne ikke opprette arkiv.',
|
||||
'errArcType' : 'akriv-typen er ikke støttet.',
|
||||
'errNoArchive' : 'Filen er ikke et arkiv eller et arkiv som ikke er støttet.',
|
||||
'errCmdNoSupport' : 'Backend støtter ikke denne kommandoen.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'Opprett arkiv',
|
||||
'cmdback' : 'Tilbake',
|
||||
'cmdcopy' : 'Kopier',
|
||||
'cmdcut' : 'Klipp ut',
|
||||
'cmddownload' : 'Last ned',
|
||||
'cmdduplicate' : 'Dupliser',
|
||||
'cmdedit' : 'Rediger fil',
|
||||
'cmdextract' : 'Pakk ut filer fra arkiv',
|
||||
'cmdforward' : 'Frem',
|
||||
'cmdgetfile' : 'Velg filer',
|
||||
'cmdhelp' : 'Om',
|
||||
'cmdhome' : 'Hjem',
|
||||
'cmdinfo' : 'Vis info',
|
||||
'cmdmkdir' : 'Ny mappe',
|
||||
'cmdmkfile' : 'Ny tekst-fil',
|
||||
'cmdopen' : 'Åpne',
|
||||
'cmdpaste' : 'Lim inn',
|
||||
'cmdquicklook' : 'Forhåndsvis',
|
||||
'cmdreload' : 'Last inn på nytt',
|
||||
'cmdrename' : 'Gi nytt navn',
|
||||
'cmdrm' : 'Slett',
|
||||
'cmdsearch' : 'Find filer',
|
||||
'cmdup' : 'Opp et nivå',
|
||||
'cmdupload' : 'Last opp filer',
|
||||
'cmdview' : 'Vis',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'Lukk',
|
||||
'btnSave' : 'Lagre',
|
||||
'btnRm' : 'Slett',
|
||||
'btnCancel' : 'Avbryt',
|
||||
'btnNo' : 'Nei',
|
||||
'btnYes' : 'Ja',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'Åpne mappe',
|
||||
'ntffile' : 'Åpne fil',
|
||||
'ntfreload' : 'Last inn mappen på nytt',
|
||||
'ntfmkdir' : 'Oppretter mappe',
|
||||
'ntfmkfile' : 'Oppretter filer',
|
||||
'ntfrm' : 'Sletter filer',
|
||||
'ntfcopy' : 'Kopierer filer',
|
||||
'ntfmove' : 'Flytter filer',
|
||||
'ntfprepare' : 'Gjør klar til kopiering av filer',
|
||||
'ntfrename' : 'Gir nytt navn til filer',
|
||||
'ntfupload' : 'Laster opp filer',
|
||||
'ntfdownload' : 'Laster ned filer',
|
||||
'ntfsave' : 'Lagrer filer',
|
||||
'ntfarchive' : 'Oppretter arkiv',
|
||||
'ntfextract' : 'Pakker ut filer fra arkiv',
|
||||
'ntfsearch' : 'Søker i filer',
|
||||
'ntfsmth' : 'Gjør noe... >_<',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'Ukjent',
|
||||
'Today' : 'I dag',
|
||||
'Yesterday' : 'I går',
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Feb',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Apr',
|
||||
'May' : 'Mai',
|
||||
'Jun' : 'Jun',
|
||||
'Jul' : 'Jul',
|
||||
'Aug' : 'Aug',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Okt',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Des',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'Bekreftelse nødvendig',
|
||||
'confirmRm' : 'Er du sikker på at du ønsker å slette filene?',
|
||||
'confirmRepl' : 'Erstatt fil?',
|
||||
'apllyAll' : 'Apply to all',
|
||||
'name' : 'Navn',
|
||||
'size' : 'Størrelse',
|
||||
'perms' : 'Rettigheter',
|
||||
'modify' : 'Endret',
|
||||
'kind' : 'Type',
|
||||
'read' : 'les',
|
||||
'write' : 'skriv',
|
||||
'noaccess' : 'ingen adgang',
|
||||
'and' : 'og',
|
||||
'unknown' : 'ukjent',
|
||||
'selectall' : 'Velg alle filene',
|
||||
'selectfiles' : 'Velg fil(er)',
|
||||
'selectffile' : 'Velg første fil',
|
||||
'selectlfile' : 'Velg siste fil',
|
||||
'viewlist' : 'Listevisning',
|
||||
'viewicons' : 'Ikoner',
|
||||
'places' : 'Områder',
|
||||
'calc' : 'Beregn',
|
||||
'path' : 'Bane',
|
||||
'aliasfor' : 'Alias for',
|
||||
'locked' : 'Låst',
|
||||
'dim' : 'Størrelser',
|
||||
'files' : 'Filer',
|
||||
'folders' : 'Mapper',
|
||||
'items' : 'objekter',
|
||||
'yes' : 'ja',
|
||||
'no' : 'nei',
|
||||
'link' : 'Link',
|
||||
'searcresult' : 'Søkeresultater',
|
||||
'selected' : 'valgte filer',
|
||||
'about' : 'Om',
|
||||
'shortcuts' : 'Snarveier',
|
||||
'help' : 'Hjelp',
|
||||
'webfm' : 'Web-filbehandler',
|
||||
'ver' : 'Versjon',
|
||||
'protocol' : 'protokol versjon',
|
||||
'homepage' : 'Project home',
|
||||
'docs' : 'dokumentasjon',
|
||||
'github' : 'Fork us on Github',
|
||||
'twitter' : 'Follow us on twitter',
|
||||
'facebook' : 'Join us on facebook',
|
||||
'team' : 'Team',
|
||||
'chiefdev' : 'chief developer',
|
||||
'developer' : 'developer',
|
||||
'contributor' : 'contributor',
|
||||
'maintainer' : 'maintainer',
|
||||
'translator' : 'translator',
|
||||
'icons' : 'Ikoner',
|
||||
'dontforget' : 'and don\'t forget to bring a towel',
|
||||
'shortcutsof' : 'Snarveier avslått',
|
||||
'dropFiles' : 'Slipp filer her',
|
||||
'or' : 'eller',
|
||||
'selectForUpload' : 'Velg filer til opplasting',
|
||||
'moveFiles' : 'Flytt filer',
|
||||
'copyFiles' : 'Kopier filer',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'Ukjent',
|
||||
'kindFolder' : 'Mappe',
|
||||
'kindAlias' : 'Snarvei',
|
||||
'kindAliasBroken' : 'Ugyldig snarvei',
|
||||
// applications
|
||||
'kindApp' : 'Programfil',
|
||||
'kindPostscript' : 'Postscript dokument',
|
||||
'kindMsOffice' : 'Microsoft Office dokument',
|
||||
'kindMsWord' : 'Microsoft Word dokument',
|
||||
'kindMsExcel' : 'Microsoft Excel dokument',
|
||||
'kindMsPP' : 'Microsoft Powerpoint presentation',
|
||||
'kindOO' : 'Open Office dokument',
|
||||
'kindAppFlash' : 'Flash',
|
||||
'kindPDF' : 'Portabelt dokument (PDF)',
|
||||
'kindTorrent' : 'Bittorrent file',
|
||||
'kind7z' : '7z arkiv',
|
||||
'kindTAR' : 'TAR arkiv',
|
||||
'kindGZIP' : 'GZIP arkiv',
|
||||
'kindBZIP' : 'BZIP arkiv',
|
||||
'kindZIP' : 'ZIP arkiv',
|
||||
'kindRAR' : 'RAR ar',
|
||||
'kindJAR' : 'Java JAR file',
|
||||
'kindTTF' : 'True Type font',
|
||||
'kindOTF' : 'Open Type font',
|
||||
'kindRPM' : 'RPM package',
|
||||
// texts
|
||||
'kindText' : 'Tekst dokument',
|
||||
'kindTextPlain' : 'Plain text',
|
||||
'kindPHP' : 'PHP kilde',
|
||||
'kindCSS' : 'Cascading style sheet',
|
||||
'kindHTML' : 'HTML dokument',
|
||||
'kindJS' : 'Javascript',
|
||||
'kindRTF' : 'Rikt Tekst Format',
|
||||
'kindC' : 'C kilde',
|
||||
'kindCHeader' : 'C header kilde',
|
||||
'kindCPP' : 'C++ kilde',
|
||||
'kindCPPHeader' : 'C++ header kilde',
|
||||
'kindShell' : 'Unix shell script',
|
||||
'kindPython' : 'Python kilde',
|
||||
'kindJava' : 'Java kilde',
|
||||
'kindRuby' : 'Ruby kilde',
|
||||
'kindPerl' : 'Perl script',
|
||||
'kindSQL' : 'SQL skilde',
|
||||
'kindXML' : 'XML dokument',
|
||||
'kindAWK' : 'AWK kilde',
|
||||
'kindCSV' : 'Comma separated values',
|
||||
'kindDOCBOOK' : 'Docbook XML dokument',
|
||||
// Images
|
||||
'kindimage' : 'Bilde',
|
||||
'kindBMP' : 'BMP bilde',
|
||||
'kindJPEG' : 'JPEG bilde',
|
||||
'kindGIF' : 'GIF bilde',
|
||||
'kindPNG' : 'PNG bilde',
|
||||
'kindTIFF' : 'TIFF bilde',
|
||||
'kindTGA' : 'TGA bilde',
|
||||
'kindPSD' : 'Adobe Photoshop bilde',
|
||||
'kindXBITMAP' : 'X bitmap bilde',
|
||||
'kindPXM' : 'Pixelmator bilde',
|
||||
// media
|
||||
'kindAudio' : 'Audio media',
|
||||
'kindAudioMPEG' : 'MPEG audio',
|
||||
'kindAudioMPEG4' : 'MPEG-4 audio',
|
||||
'kindAudioMIDI' : 'MIDI audio',
|
||||
'kindAudioOGG' : 'Ogg Vorbis audio',
|
||||
'kindAudioWAV' : 'WAV audio',
|
||||
'AudioPlaylist' : 'MP3 spilleliste',
|
||||
'kindVideo' : 'Video media',
|
||||
'kindVideoDV' : 'DV film',
|
||||
'kindVideoMPEG' : 'MPEG film',
|
||||
'kindVideoMPEG4' : 'MPEG-4 film',
|
||||
'kindVideoAVI' : 'AVI film',
|
||||
'kindVideoMOV' : 'Quick Time film',
|
||||
'kindVideoWM' : 'Windows Media film',
|
||||
'kindVideoFlash' : 'Flash film',
|
||||
'kindVideoMKV' : 'Matroska film',
|
||||
'kindVideoOGG' : 'Ogg film'
|
||||
}
|
||||
}
|
||||
}
|
||||
191
simpla/design/js/elfinder/js/i18n/elfinder.pl.js
Normal file
@@ -0,0 +1,191 @@
|
||||
/**
|
||||
* Polish translation
|
||||
* @author Darek Wapiński <darek@wapinski.us>
|
||||
* @version 2010-09-22
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.pl = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Katalog główny nie istnieje',
|
||||
'Unable to connect to backend' : 'Nie mogę się połączyć z menedżerem plików',
|
||||
'Access denied' : 'Dostęp zabroniony',
|
||||
'Invalid backend configuration' : 'Błędna konfiguracja menedżera plików',
|
||||
'Unknown command' : 'Nieznane polecenie',
|
||||
'Command not allowed' : 'Polecenie niedostępne',
|
||||
'Invalid parameters' : 'Błędne parametry',
|
||||
'File not found' : 'Pliku nie znaleziono',
|
||||
'Invalid name' : 'Błędna nazwa',
|
||||
'File or folder with the same name already exists' : 'Istnieje już plik lub katalog o takiej nazwie',
|
||||
'Unable to rename file' : 'Nie mogę zmienić nazwy',
|
||||
'Unable to create folder' : 'Nie mogę stworzyć katalogu',
|
||||
'Unable to create file' : 'Nie mogę stworzyć pliku',
|
||||
'No file to upload' : 'Brak pliku do wkopiowania',
|
||||
'Select at least one file to upload' : 'Wybierz przynajmniej jeden plik do wkopiowania',
|
||||
'File exceeds the maximum allowed filesize' : 'Dozwolony maksymalny rozmiar pliku został przekroczony',
|
||||
'Data exceeds the maximum allowed size' : 'Dane przekroczyły dozwolony maksymalny rozmiar',
|
||||
'Not allowed file type' : 'Niedozolony typ pliku',
|
||||
'Unable to upload file' : 'Nie mogę wkopiować pliku',
|
||||
'Unable to upload files' : 'Nie mogę wkopiować plików',
|
||||
'Unable to remove file' : 'Nie mogę skasować pliku',
|
||||
'Unable to save uploaded file' : 'Nie mogę zapisać wkopiowanych plików',
|
||||
'Some files was not uploaded' : 'Kilka plików nie zostało wkopiowanych',
|
||||
'Unable to copy into itself' : 'Nie mogę wkopiować na ten sam plik',
|
||||
'Unable to move files' : 'Nie mogę przenieść plików',
|
||||
'Unable to copy files' : 'Nie mogę skopiować plików',
|
||||
'Unable to create file copy' : 'Nie mogę stworzyć kopi pliku',
|
||||
'File is not an image' : 'Plik nie jest obrazkiem',
|
||||
'Unable to resize image' : 'Nie mogę zmienić rozmiaru obrazka',
|
||||
'Unable to write to file' : 'Nie mogę zapisać danych w pliku',
|
||||
'Unable to create archive' : 'Nie mogę stworzyć archiwum',
|
||||
'Unable to extract files from archive' : 'Nie mogę rozpakować plików z archiwum',
|
||||
'Unable to open broken link' : 'Nie mogę otworzyć błędego odnoścnika',
|
||||
'File URL disabled by connector config' : 'Ścieżka do pliku została wyłączona w konfiguracji',
|
||||
/* statusbar */
|
||||
'items' : 'pozycji',
|
||||
'selected items' : 'zaznaczonych pozycji',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Cofnij',
|
||||
'Reload' : 'Odśwież',
|
||||
'Open' : 'Otwórz',
|
||||
'Preview with Quick Look' : 'Podgląd z QuickLook',
|
||||
'Select file' : 'Wybierz plik',
|
||||
'New folder' : 'Nowy folder',
|
||||
'New text file' : 'Nowy plik tekstowy',
|
||||
'Upload files' : 'Wkopiuj pliki',
|
||||
'Copy' : 'Kopiuj',
|
||||
'Cut' : 'Wytnij',
|
||||
'Paste' : 'Wklej',
|
||||
'Duplicate' : 'Zduplikuj',
|
||||
'Remove' : 'Usuń',
|
||||
'Rename' : 'Zmień nazwę',
|
||||
'Edit text file' : 'Edytuj plik tekstowy',
|
||||
'View as icons' : 'Ikony',
|
||||
'View as list' : 'Lista',
|
||||
'Resize image' : 'Przeskaluj obrazek',
|
||||
'Create archive' : 'Utwórz archiwum',
|
||||
'Uncompress archive' : 'Odkopiuj z archiwum',
|
||||
'Get info' : 'Pokaż informacje',
|
||||
'Help' : 'Pomoc',
|
||||
'Dock/undock filemanager window' : 'Zminimalizuj/Ukryj menedżera plików',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maksymalny rozmiar',
|
||||
'Add field' : 'Dodaj pozycję',
|
||||
'File info' : 'Informacje o pliku',
|
||||
'Folder info' : 'Informacje o katalogu',
|
||||
'Name' : 'Nazwa',
|
||||
'Kind' : 'Rodzaj',
|
||||
'Size' : 'Rozmiar',
|
||||
'Modified' : 'Zmodyfikowany',
|
||||
'Permissions' : 'Uprawnienia',
|
||||
'Link to' : 'Link do',
|
||||
'Dimensions' : 'Rozmiary',
|
||||
'Confirmation required' : 'Wymagane potwierdzenie',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Czy jesteś pewny/pewna, że chcesz usunąć pliki? <br />Nie będzie można ich odzyskać!',
|
||||
/* permissions */
|
||||
'read' : 'odczyt',
|
||||
'write' : 'zapis',
|
||||
'remove' : 'usunięcie',
|
||||
/* dates */
|
||||
'Jan' : 'Sty',
|
||||
'Feb' : 'Lut',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Kwi',
|
||||
'May' : 'Maj',
|
||||
'Jun' : 'Cze',
|
||||
'Jul' : 'Lip',
|
||||
'Aug' : 'Sie',
|
||||
'Sep' : 'Wrz',
|
||||
'Oct' : 'Paź',
|
||||
'Nov' : 'Lis',
|
||||
'Dec' : 'Gru',
|
||||
'Today' : 'Dzisiaj',
|
||||
'Yesterday' : 'Wczoraj',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Nieznany',
|
||||
'Folder' : 'Folder',
|
||||
'Alias' : 'Alias',
|
||||
'Broken alias' : 'Utracony alias',
|
||||
'Plain text' : 'Tekst',
|
||||
'Postscript document' : 'Dokument Postscript',
|
||||
'Application' : 'Aplikacja',
|
||||
'Microsoft Office document' : 'Dokument Microsoft Office',
|
||||
'Microsoft Word document' : 'Document Microsoft Word',
|
||||
'Microsoft Excel document' : 'Document Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Document Microsoft Powerpoint',
|
||||
'Open Office document' : 'Document Open Office',
|
||||
'Flash application' : 'Aplikacja Flash',
|
||||
'XML document' : 'Document XML',
|
||||
'Bittorrent file' : 'Plik bittorrent',
|
||||
'7z archive' : 'Archiwum 7z',
|
||||
'TAR archive' : 'Archiwum TAR',
|
||||
'GZIP archive' : 'Archiwum GZIP',
|
||||
'BZIP archive' : 'Archiwum BZIP',
|
||||
'ZIP archive' : 'Archiwum ZIP',
|
||||
'RAR archive' : 'Archiwum RAR',
|
||||
'Javascript application' : 'Aplikacja Javascript',
|
||||
'PHP source' : 'Document PHP',
|
||||
'HTML document' : 'Document HTML',
|
||||
'Javascript source' : 'Document Javascript',
|
||||
'CSS style sheet' : 'Document CSS',
|
||||
'C source' : 'Document C',
|
||||
'C++ source' : 'Document C++',
|
||||
'Unix shell script' : 'Skrypt powłoki Unix',
|
||||
'Python source' : 'Document Python',
|
||||
'Java source' : 'Document Java',
|
||||
'Ruby source' : 'Document Ruby',
|
||||
'Perl script' : 'Skrypt Perl',
|
||||
'BMP image' : 'Obraz BMP',
|
||||
'JPEG image' : 'Obraz JPEG',
|
||||
'GIF Image' : 'Obraz GIF',
|
||||
'PNG Image' : 'Obraz PNG',
|
||||
'TIFF image' : 'Obraz TIFF',
|
||||
'TGA image' : 'Obraz TGA',
|
||||
'Adobe Photoshop image' : 'Obraz Adobe Photoshop',
|
||||
'MPEG audio' : 'Audio MPEG',
|
||||
'MIDI audio' : 'Audio MIDI',
|
||||
'Ogg Vorbis audio' : 'Audio Ogg Vorbis',
|
||||
'MP4 audio' : 'Audio MP4',
|
||||
'WAV audio' : 'Audio WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Zaznacz wszystkie pliki',
|
||||
'Copy/Cut/Paste files' : 'Kopiuj/Wytnij/Wklej pliki',
|
||||
'Open selected file/folder' : 'Otwórz zaznaczony plik/folder',
|
||||
'Open/close QuickLook window' : 'Otwórz/zamknij podgląd',
|
||||
'Remove selected files' : 'Usuń zaznaczone pliki',
|
||||
'Selected files or current directory info' : 'Zaznacz pliki lub aktualne info o katalogu',
|
||||
'Create new directory' : 'Utwórz katalog',
|
||||
'Open upload files form' : 'Otwórz okno wkopiowywania plików',
|
||||
'Select previous file' : 'Zaznacz poprzedni plik',
|
||||
'Select next file' : 'Zaznacz następny plik',
|
||||
'Return into previous folder' : 'Powróć do pprzedniego folderu',
|
||||
'Increase/decrease files selection' : 'Zwiększ/zmniejsz zaznaczenie plików',
|
||||
'Authors' : 'Autorzy',
|
||||
'Sponsors' : 'Sponsorzy',
|
||||
'elFinder: Web file manager' : 'elFinder: Menedżer plików',
|
||||
'Version' : 'Wersja',
|
||||
'Copyright: Studio 42 LTD' : 'Prawa: Studio 42',
|
||||
'Donate to support project development' : 'Dotuj prace nad projektem',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Programowanie Javascripts/php: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Programowanie Python, pomoc techniczna: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Wygląd: Valentin Razumnyh',
|
||||
'Polish localization' : 'Polskie tłumaczenie: Darek Wapinski darek(at)wapinski.us 2010',
|
||||
'Icons' : 'Ikony',
|
||||
'License: BSD License' : 'Licencja: BSD License',
|
||||
'elFinder documentation' : 'Dokumentacja elFinder',
|
||||
'Simple and usefull Content Management System' : 'Prosty i użyteczny CMS',
|
||||
'Support project development and we will place here info about you' : 'Wesprzyj projekt swoją pracą a umieścimy informację o Tobie',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Skontaktuj się z nami jeśli chcesz zintegrować projekt ze swoim produktem',
|
||||
'elFinder support following shortcuts' : 'elFinder obsługuje następujące skróty',
|
||||
'helpText' : 'Potrzebujesz pomocy z menedżerem plików elFinder?<br />Zgłoś się do mnie: Darek Wapiński darek(at)wapinski.us'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
280
simpla/design/js/elfinder/js/i18n/elfinder.pt_BR.js
Normal file
@@ -0,0 +1,280 @@
|
||||
/**
|
||||
* Brazilian Portuguese translation
|
||||
* @author Leandro Carvalho <contato@leandrowebdev.net>
|
||||
* @version 2011-07-09
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.pt_BR = {
|
||||
translator : 'Leandro Carvalho <contato@leandrowebdev.net>',
|
||||
language : 'Português',
|
||||
direction : 'ltr',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'Erro',
|
||||
'errUnknown' : 'Erro desconhecido.',
|
||||
'errUnknownCmd' : 'Comando desconhecido.',
|
||||
'errJqui' : 'Configuração inválida do JQuery UI. Verifique os componentes selectable, draggable e droppable incluidos.',
|
||||
'errNode' : 'elFinder requer um elemento DOM para ser criado.',
|
||||
'errURL' : 'Configuração inválida do elFinder! Você deve setar a opção da URL.',
|
||||
'errAccess' : 'Acesso negado.',
|
||||
'errConnect' : 'Incapaz de conectar ao backend.',
|
||||
'errAbort' : 'Conexão abortada.',
|
||||
'errTimeout' : 'Connection timeout.',
|
||||
'errNotFound' : 'Backend não encontrado.',
|
||||
'errResponse' : 'Resposta inválida do backend.',
|
||||
'errConf' : 'Configuração inválida do backend.',
|
||||
'errJSON' : 'Módulo PHP JSON não está instalado.',
|
||||
'errNoVolumes' : 'Não existe nenhum volume legível disponivel.',
|
||||
'errCmdParams' : 'Parâmetro inválido para o comando "$1".',
|
||||
'errDataNotJSON' : 'Dados não estão no formato JSON.',
|
||||
'errDataEmpty' : 'Dados vazios.',
|
||||
'errCmdReq' : 'Requisição do Backend requer nome de comando.',
|
||||
'errOpen' : 'Incapaz de abrir "$1".',
|
||||
'errNotFolder' : 'Objeto não é uma pasta.',
|
||||
'errNotFile' : 'Objeto não é um arquivo.',
|
||||
'errRead' : 'Incapaz de ler "$1".',
|
||||
'errWrite' : 'Incapaz de escrever em "$1".',
|
||||
'errPerm' : 'Permissão negada.',
|
||||
'errLocked' : '"$1" está bloqueado e não pode ser renomeado, movido ou removido.',
|
||||
'errExists' : 'O nome do arquivo "$1" já existe neste local.',
|
||||
'errInvName' : 'Nome do arquivo inválido.',
|
||||
'errFolderNotFound' : 'Pasta não encontrada.',
|
||||
'errFileNotFound' : 'Arquivo não encontrado.',
|
||||
'errTrgFolderNotFound' : 'Pasta de destino "$1" não encontrada.',
|
||||
'errPopup' : 'Navegador impediu abertura da janela popup, Para abrir o arquivo desabilite está opção no navegador.',
|
||||
'errMkdir' : 'Incapaz de criar a pasta "$1".',
|
||||
'errMkfile' : 'Incapaz de criar o arquivo "$1".',
|
||||
'errRename' : 'Incapaz de renomear "$1".',
|
||||
'errCopyFrom' : 'Copia dos arquivos do volume "$1" não permitida.',
|
||||
'errCopyTo' : 'Copia dos arquivos para o volume "$1" não permitida.',
|
||||
'errUploadCommon' : 'Erro no upload.',
|
||||
'errUpload' : 'Incapaz de fazer o upload de "$1".',
|
||||
'errUploadNoFiles' : 'Não foi encontrado nenhum arquivo para upload.',
|
||||
'errMaxSize' : 'Os dados excedem o tamanho máximo permitido.',
|
||||
'errFileMaxSize' : 'Arquivo excede o tamanho máximo permitido.',
|
||||
'errUploadMime' : 'Tipo de arquivo não permitido.',
|
||||
'errUploadTransfer' : '"$1" erro na transferência.',
|
||||
'errSave' : 'Incapaz de salvar "$1".',
|
||||
'errCopy' : 'Incapaz de copiar "$1".',
|
||||
'errMove' : 'Incapaz de mover "$1".',
|
||||
'errCopyInItself' : 'Incapaz de copiar "$1" nele mesmo.',
|
||||
'errRm' : 'Incapaz de remover "$1".',
|
||||
'errExtract' : 'Incapaz de extrair os arquivos de "$1".',
|
||||
'errArchive' : 'Incapaz de criar o arquivo.',
|
||||
'errArcType' : 'Tipo de arquivo não suportado.',
|
||||
'errNoArchive' : 'Arquivo inválido ou é um tipo sem suporte.',
|
||||
'errCmdNoSupport' : 'Backend não suporta este comando.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'Criar arquivo',
|
||||
'cmdback' : 'Voltar',
|
||||
'cmdcopy' : 'Copiar',
|
||||
'cmdcut' : 'Cortar',
|
||||
'cmddownload' : 'Baixar',
|
||||
'cmdduplicate' : 'Duplicar',
|
||||
'cmdedit' : 'Editar arquivo',
|
||||
'cmdextract' : 'Extrair arquivo de ficheiros',
|
||||
'cmdforward' : 'Avançar',
|
||||
'cmdgetfile' : 'Selecionar arquivos',
|
||||
'cmdhelp' : 'Sobre este software',
|
||||
'cmdhome' : 'Home',
|
||||
'cmdinfo' : 'propriedades',
|
||||
'cmdmkdir' : 'Nova pasta',
|
||||
'cmdmkfile' : 'Novo arquivo de texto',
|
||||
'cmdopen' : 'Abrir',
|
||||
'cmdpaste' : 'Colar',
|
||||
'cmdquicklook' : 'Pré-vizualização',
|
||||
'cmdreload' : 'Recarregar',
|
||||
'cmdrename' : 'Renomear',
|
||||
'cmdrm' : 'Deletar',
|
||||
'cmdsearch' : 'Achar arquivos',
|
||||
'cmdup' : 'Ir para o diretório pai',
|
||||
'cmdupload' : 'Fazer upload de arquivo',
|
||||
'cmdview' : 'Vizualizar',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'Fechar',
|
||||
'btnSave' : 'Salvar',
|
||||
'btnRm' : 'Remover',
|
||||
'btnCancel' : 'Cancelar',
|
||||
'btnNo' : 'Não',
|
||||
'btnYes' : 'Sim',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'Abrir Pasta',
|
||||
'ntffile' : 'Abrir arquivo',
|
||||
'ntfreload' : 'Recarregar conteudo da pasta',
|
||||
'ntfmkdir' : 'Criar diretório',
|
||||
'ntfmkfile' : 'Criar arquivos',
|
||||
'ntfrm' : 'Deletar arquivos',
|
||||
'ntfcopy' : 'Copiar arquivos',
|
||||
'ntfmove' : 'Mover arquivos',
|
||||
'ntfprepare' : 'Preparar para copiar os arquivos',
|
||||
'ntfrename' : 'Renomear arquivos',
|
||||
'ntfupload' : 'Fazendo o upload dos arquivos',
|
||||
'ntfdownload' : 'Baixando os arquivos',
|
||||
'ntfsave' : 'Slvando os arquivos',
|
||||
'ntfarchive' : 'Criando os arquivos',
|
||||
'ntfextract' : 'Extraindo arquivos dos ficheiros',
|
||||
'ntfsearch' : 'Procurando arquivos',
|
||||
'ntfsmth' : 'Fazendo alguma coisa >_<',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'Desconhecido',
|
||||
'Today' : 'Hoje',
|
||||
'Yesterday' : 'Ontem',
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Fev',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Abr',
|
||||
'May' : 'Mai',
|
||||
'Jun' : 'Jun',
|
||||
'Jul' : 'Jul',
|
||||
'Aug' : 'Ago',
|
||||
'Sep' : 'Set',
|
||||
'Oct' : 'Out',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dez',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'Confirmação requerida',
|
||||
'confirmRm' : 'Você tem certeza que quer remover os arquivos?<br />Isto não pode ser desfeito!',
|
||||
'confirmRepl' : 'Substituir arquivo velho com este novo?',
|
||||
'apllyAll' : 'Aplicar a todos',
|
||||
'name' : 'Nome',
|
||||
'size' : 'Tamanho',
|
||||
'perms' : 'Permições',
|
||||
'modify' : 'Modificado',
|
||||
'kind' : 'Tipo',
|
||||
'read' : 'Ler',
|
||||
'write' : 'Escrever',
|
||||
'noaccess' : 'Inacessível',
|
||||
'and' : 'e',
|
||||
'unknown' : 'Desconhecido',
|
||||
'selectall' : 'Selecionar todos arquivos',
|
||||
'selectfiles' : 'Selecionar arquivo(s)',
|
||||
'selectffile' : 'Selecionar primeiro arquivo',
|
||||
'selectlfile' : 'Slecionar último arquivo',
|
||||
'viewlist' : 'Exibir como lista',
|
||||
'viewicons' : 'Exibir como ícones',
|
||||
'places' : 'Lugares',
|
||||
'calc' : 'Calcular',
|
||||
'path' : 'Caminho',
|
||||
'aliasfor' : 'Alias para',
|
||||
'locked' : 'Bloqueado',
|
||||
'dim' : 'Dimesões',
|
||||
'files' : 'Arquivos',
|
||||
'folders' : 'Pastas',
|
||||
'items' : 'Itens',
|
||||
'yes' : 'sim',
|
||||
'no' : 'não',
|
||||
'link' : 'Link',
|
||||
'searcresult' : 'resultados da pesquisa',
|
||||
'selected' : 'itens selecionados',
|
||||
'about' : 'Sobre',
|
||||
'shortcuts' : 'Atalhos',
|
||||
'help' : 'Ajuda',
|
||||
'webfm' : 'Gerenciador de arquivos web',
|
||||
'ver' : 'Versão',
|
||||
'protocol' : 'Versão do protocolo',
|
||||
'homepage' : 'Home do projeto',
|
||||
'docs' : 'Documentação',
|
||||
'github' : 'Fork us on Github',
|
||||
'twitter' : 'Siga-nos no twitter',
|
||||
'facebook' : 'Junte-se a nós no Facebook',
|
||||
'team' : 'Time',
|
||||
'chiefdev' : 'Desenvolvedor chefe',
|
||||
'developer' : 'Desenvolvedor',
|
||||
'contributor' : 'Contribuinte',
|
||||
'maintainer' : 'Mantenedor',
|
||||
'translator' : 'Tradutor',
|
||||
'icons' : 'Ícones',
|
||||
'dontforget' : 'e não se esqueça de levar sua toalha',
|
||||
'shortcutsof' : 'Atalhos desabilitados',
|
||||
'dropFiles' : 'Solte os arquivos aqui',
|
||||
'or' : 'ou',
|
||||
'selectForUpload' : 'Selecione arquivos para upload',
|
||||
'moveFiles' : 'Mover arquivos',
|
||||
'copyFiles' : 'Copiar arquivos',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'Desconhecio',
|
||||
'kindFolder' : 'Pasta',
|
||||
'kindAlias' : 'Alias',
|
||||
'kindAliasBroken' : 'Alias inválido',
|
||||
// applications
|
||||
'kindApp' : 'Aplicação',
|
||||
'kindPostscript' : 'Documento Postscript',
|
||||
'kindMsOffice' : 'Documento Microsoft Office',
|
||||
'kindMsWord' : 'Documento Microsoft Word',
|
||||
'kindMsExcel' : 'Documento Microsoft Excel',
|
||||
'kindMsPP' : 'Apresentação Microsoft Powerpoint',
|
||||
'kindOO' : 'Documento Open Office',
|
||||
'kindAppFlash' : 'Aplicação Flash',
|
||||
'kindPDF' : 'Portable Document Format (PDF)',
|
||||
'kindTorrent' : 'Arquivo Bittorrent',
|
||||
'kind7z' : 'Arquivo 7z',
|
||||
'kindTAR' : 'Arquivo TAR',
|
||||
'kindGZIP' : 'Arquivo GZIP',
|
||||
'kindBZIP' : 'Arquivo BZIP',
|
||||
'kindZIP' : 'Arquivo ZIP',
|
||||
'kindRAR' : 'Arquivo RAR',
|
||||
'kindJAR' : 'Arquivo JAR',
|
||||
'kindTTF' : 'True Type font',
|
||||
'kindOTF' : 'Open Type font',
|
||||
'kindRPM' : 'Pacote RPM',
|
||||
// texts
|
||||
'kindText' : 'Arquivo de texto',
|
||||
'kindTextPlain' : 'Texto simples',
|
||||
'kindPHP' : 'PHP',
|
||||
'kindCSS' : 'CSS',
|
||||
'kindHTML' : 'Documento HTML',
|
||||
'kindJS' : 'Javascript',
|
||||
'kindRTF' : 'Formato Rich Text',
|
||||
'kindC' : 'C',
|
||||
'kindCHeader' : 'C cabeçalho',
|
||||
'kindCPP' : 'C++',
|
||||
'kindCPPHeader' : 'C++ cabeçalho',
|
||||
'kindShell' : 'Unix shell script',
|
||||
'kindPython' : 'Python',
|
||||
'kindJava' : 'Java',
|
||||
'kindRuby' : 'Ruby',
|
||||
'kindPerl' : 'Perl script',
|
||||
'kindSQL' : 'SQL',
|
||||
'kindXML' : 'Documento XML',
|
||||
'kindAWK' : 'AWK',
|
||||
'kindCSV' : 'Valores separados por vírgula',
|
||||
'kindDOCBOOK' : 'Documento Docbook XML',
|
||||
// images
|
||||
'kindImage' : 'Imagem',
|
||||
'kindBMP' : 'Imagem BMP',
|
||||
'kindJPEG' : 'Imagem JPEG',
|
||||
'kindGIF' : 'Imagem GIF',
|
||||
'kindPNG' : 'Imagem PNG',
|
||||
'kindTIFF' : 'Imagem TIFF',
|
||||
'kindTGA' : 'Imagem TGA',
|
||||
'kindPSD' : 'Imagem Adobe Photoshop',
|
||||
'kindXBITMAP' : 'Imagem X bitmap',
|
||||
'kindPXM' : 'Imagem Pixelmator',
|
||||
// media
|
||||
'kindAudio' : 'Audio media',
|
||||
'kindAudioMPEG' : 'Audio MPEG',
|
||||
'kindAudioMPEG4' : 'Audio MPEG-4',
|
||||
'kindAudioMIDI' : 'Audio MIDI',
|
||||
'kindAudioOGG' : 'Audio Ogg Vorbis',
|
||||
'kindAudioWAV' : 'Audio WAV',
|
||||
'AudioPlaylist' : 'MP3 playlist',
|
||||
'kindVideo' : 'Video media',
|
||||
'kindVideoDV' : 'DV filme',
|
||||
'kindVideoMPEG' : 'Video MPEG',
|
||||
'kindVideoMPEG4' : 'Video MPEG-4',
|
||||
'kindVideoAVI' : 'Video AVI',
|
||||
'kindVideoMOV' : 'Quick Time movie',
|
||||
'kindVideoWM' : 'Video Windows Media',
|
||||
'kindVideoFlash' : 'Video Flash',
|
||||
'kindVideoMKV' : 'Video Matroska',
|
||||
'kindVideoOGG' : 'Video Ogg'
|
||||
}
|
||||
}
|
||||
}
|
||||
344
simpla/design/js/elfinder/js/i18n/elfinder.ru.js
Normal file
@@ -0,0 +1,344 @@
|
||||
/**
|
||||
* Russian translation
|
||||
* @author Dmitry "dio" Levashov <dio@std42.ru>
|
||||
* @version 2011-07-15
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.ru = {
|
||||
translator : 'Dmitry "dio" Levashov <dio@std42.ru>',
|
||||
language : 'Русский язык',
|
||||
direction : 'ltr',
|
||||
dateFormat : 'd M Y H:i',
|
||||
fancyDateFormat : '$1 H:i',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : 'Ошибка',
|
||||
'errUnknown' : 'Неизвестная ошибка.',
|
||||
'errUnknownCmd' : 'Неизвестная комманда.',
|
||||
'errJqui' : 'Отсутствуют необходимые компоненты jQuery UI - selectable, draggable и droppable.',
|
||||
'errNode' : 'Отсутствует DOM элемент для инициализации elFinder.',
|
||||
'errURL' : 'Некорректная настройка. Необходимо указать URL сервера.',
|
||||
'errAccess' : 'Доступ запрещен.',
|
||||
'errConnect' : 'Не удалось соединиться с сервером.',
|
||||
'errAbort' : 'Соединение прервано.',
|
||||
'errTimeout' : 'Таймаут соединения.',
|
||||
'errNotFound' : 'Сервер не найден.',
|
||||
'errResponse' : 'Некорректный ответ сервера.',
|
||||
'errConf' : 'Некорректная настройка сервера.',
|
||||
'errJSON' : 'Модуль PHP JSON не установлен.',
|
||||
'errNoVolumes' : 'Отсутствуют корневые директории достуные для чтения.',
|
||||
'errCmdParams' : 'Некорректные параметры комманды "$1".',
|
||||
'errDataNotJSON' : 'Данные не формате JSON.',
|
||||
'errDataEmpty' : 'Данные отсутствуют.',
|
||||
'errCmdReq' : 'Для запроса к серверу необходимо указать имя комманды.',
|
||||
'errOpen' : 'Не удалось открыть "$1".',
|
||||
'errNotFolder' : 'Объект не является папкой.',
|
||||
'errNotFile' : 'Объект не является файлом.',
|
||||
'errRead' : 'Ошибка чтения "$1".',
|
||||
'errWrite' : 'Ошибка записи "$1".',
|
||||
'errPerm' : 'Доступ запрещен.',
|
||||
'errLocked' : '"$1" защищен и не может быть переименован, перемещен или удален.',
|
||||
'errExists' : 'В папке уже существует объект с именем "$1".',
|
||||
'errInvName' : 'Недопустимое имя файла.',
|
||||
'errFolderNotFound' : 'Папка не найдена.',
|
||||
'errFileNotFound' : 'Файл не найден.',
|
||||
'errTrgFolderNotFound' : 'Целевая папка "$1" не найдена.',
|
||||
'errPopup' : 'Браузер заблокировал открытие нового окна. Чтобы окрыть файл, измените настройки браузера.',
|
||||
'errMkdir' : 'Ошибка создания папки "$1".',
|
||||
'errMkfile' : 'Ошибка создания файла "$1".',
|
||||
'errRename' : 'Ошибка переименования "$1".',
|
||||
'errCopyFrom' : 'Копирование из корневой директории "$1" запрещено.',
|
||||
'errCopyTo' : 'Копирование в корневую директорию "$1" запрещено.',
|
||||
'errUploadCommon' : 'Ошибка загрузки файлов.',
|
||||
'errUpload' : 'Ошибка загрузки "$1".',
|
||||
'errUploadNoFiles' : 'Отсутствуют загруженые файлы.',
|
||||
'errMaxSize' : 'Превышен допустимый размер загружаемых файлов.',
|
||||
'errFileMaxSize' : 'Размер файла превышает допустимый.',
|
||||
'errUploadMime' : 'Недопустимый тип файла.',
|
||||
'errUploadTransfer' : 'Ошибка передачи файла "$1".',
|
||||
'errSave' : 'Ошибка сохранения "$1".',
|
||||
'errCopy' : 'Ошибка копирования "$1".',
|
||||
'errMove' : 'Ошибка перемещения "$1".',
|
||||
'errCopyInItself' : 'Невозможно скопировать "$1" в самого себя.',
|
||||
'errRm' : 'Ошибка удаления "$1".',
|
||||
'errExtract' : 'Ошибка извлечения файлов из архива "$1".',
|
||||
'errArchive' : 'Ошибка создания архива.',
|
||||
'errArcType' : 'Неподдерживаемый тип архива.',
|
||||
'errNoArchive' : 'Файл не является архивом допустимого типа.',
|
||||
'errCmdNoSupport' : 'Сервер не поддерживает эту комманду.',
|
||||
'errReplByChild' : 'Невозможно заменить папку "$1" содержащимся в ней объектом.',
|
||||
'errArcSymlinks' : 'По соображениям безопасности запрещена распаковка архивов, содержащих ссылки (symlinks).',
|
||||
'errArcMaxSize' : 'Размер файлов в архиве превышает максимально разрешенный.',
|
||||
'errResize' : 'Не удалось изменить размер "$1".',
|
||||
'errUsupportType' : 'Неподдерживаемый тип файла.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : 'Создать архив',
|
||||
'cmdback' : 'Назад',
|
||||
'cmdcopy' : 'Копировать',
|
||||
'cmdcut' : 'Вырезать',
|
||||
'cmddownload' : 'Скачать',
|
||||
'cmdduplicate' : 'Сделать копию',
|
||||
'cmdedit' : 'Редактировать',
|
||||
'cmdextract' : 'Распаковать архив',
|
||||
'cmdforward' : 'Вперед',
|
||||
'cmdgetfile' : 'Выбрать',
|
||||
'cmdhelp' : 'О программе',
|
||||
'cmdhome' : 'Домой',
|
||||
'cmdinfo' : 'Свойства',
|
||||
'cmdmkdir' : 'Новая папка',
|
||||
'cmdmkfile' : 'Новый файл',
|
||||
'cmdopen' : 'Открыть',
|
||||
'cmdpaste' : 'Вставить',
|
||||
'cmdquicklook' : 'Быстрый просмотр',
|
||||
'cmdreload' : 'Обновить',
|
||||
'cmdrename' : 'Переименовать',
|
||||
'cmdrm' : 'Удалить',
|
||||
'cmdsearch' : 'Поиск',
|
||||
'cmdup' : 'Наверх',
|
||||
'cmdupload' : 'Загрузить файлы',
|
||||
'cmdview' : 'Вид',
|
||||
'cmdresize' : 'Размер изображения',
|
||||
'cmdsort' : 'Сортировать',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : 'Закрыть',
|
||||
'btnSave' : 'Сохранить',
|
||||
'btnRm' : 'Удалить',
|
||||
'btnCancel' : 'Отмена',
|
||||
'btnApply' : 'Применить',
|
||||
'btnNo' : 'Нет',
|
||||
'btnYes' : 'Да',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : 'Открытие папки',
|
||||
'ntffile' : 'Открытие файла',
|
||||
'ntfreload' : 'Обновление текущей папки',
|
||||
'ntfmkdir' : 'Создание папки',
|
||||
'ntfmkfile' : 'Создание файла',
|
||||
'ntfrm' : 'Удаление файлов',
|
||||
'ntfcopy' : 'Копирование файлов',
|
||||
'ntfmove' : 'Перемещение файлов',
|
||||
'ntfprepare' : 'Подготовка к копированию',
|
||||
'ntfrename' : 'Переименование файлов',
|
||||
'ntfupload' : 'Загрузка файлов',
|
||||
'ntfdownload' : 'Скачивание файлов',
|
||||
'ntfsave' : 'Сохранение файлов',
|
||||
'ntfarchive' : 'Создание архива',
|
||||
'ntfextract' : 'Распаковка архива',
|
||||
'ntfsearch' : 'Поиск файлов',
|
||||
'ntfsmth' : 'Занят важным делом desu >_<',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : 'Незвестно',
|
||||
'Today' : 'Сегодня',
|
||||
'Yesterday' : 'Вчера',
|
||||
'Jan' : 'Янв',
|
||||
'Feb' : 'Фев',
|
||||
'Mar' : 'Мар',
|
||||
'Apr' : 'Апр',
|
||||
'May' : 'Май',
|
||||
'Jun' : 'Июнь',
|
||||
'Jul' : 'Июль',
|
||||
'Aug' : 'Авг',
|
||||
'Sep' : 'Сен',
|
||||
'Oct' : 'Окт',
|
||||
'Nov' : 'Ноя',
|
||||
'Dec' : 'Дек',
|
||||
'January' : 'Январь',
|
||||
'February' : 'Февраль',
|
||||
'March' : 'Март',
|
||||
'April' : 'Апрель',
|
||||
'May' : 'Май',
|
||||
'June' : 'Июнь',
|
||||
'July' : 'Июль',
|
||||
'August' : 'Август',
|
||||
'September' : 'Сентябрь',
|
||||
'October' : 'Октябрь',
|
||||
'November' : 'Ноябрь',
|
||||
'December' : 'Декабрь',
|
||||
'Sunday' : 'Воскресенье',
|
||||
'Monday' : 'Понедельник',
|
||||
'Tuesday' : 'Вторник',
|
||||
'Wednesday' : 'Среда',
|
||||
'Thursday' : 'Четверг',
|
||||
'Friday' : 'Пятница',
|
||||
'Saturday' : 'Суббота',
|
||||
'Sun' : 'Вск',
|
||||
'Mon' : 'Пнд',
|
||||
'Tue' : 'Втр',
|
||||
'Wed' : 'Срд',
|
||||
'Thu' : 'Чтв',
|
||||
'Fri' : 'Птн',
|
||||
'Sat' : 'Сбт',
|
||||
|
||||
/******************************** sort variants ********************************/
|
||||
'sortnameDirsFirst' : 'по имени (папки в начале)',
|
||||
'sortkindDirsFirst' : 'по типу (папки в начале)',
|
||||
'sortsizeDirsFirst' : 'по размеру (папки в начале)',
|
||||
'sortdateDirsFirst' : 'по дате (папки в начале)',
|
||||
'sortname' : 'по имени',
|
||||
'sortkind' : 'по типу',
|
||||
'sortsize' : 'по размеру',
|
||||
'sortdate' : 'по дате',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : 'Необходимо подтверждение.',
|
||||
'confirmRm' : 'Хотите удалить файлы?<br>Действие необратимо.',
|
||||
'confirmRepl' : 'Заменить старый файл новым?',
|
||||
'apllyAll' : 'для всех',
|
||||
'name' : 'Имя файла',
|
||||
'size' : 'Размер',
|
||||
'perms' : 'Доступ',
|
||||
'modify' : 'Изменен',
|
||||
'kind' : 'Тип',
|
||||
'read' : 'чтение',
|
||||
'write' : 'запись',
|
||||
'noaccess' : 'нет доступа',
|
||||
'and' : 'и',
|
||||
'unknown' : 'неизвестно',
|
||||
'selectall' : 'Выбрать все файлы',
|
||||
'selectfiles' : 'Выбрать файл(ы)',
|
||||
'selectffile' : 'Выбрать первый файл',
|
||||
'selectlfile' : 'Выбрать последний файл',
|
||||
'viewlist' : 'В виде списка',
|
||||
'viewicons' : 'В виде иконок',
|
||||
'places' : 'Избранное',
|
||||
'calc' : 'вычисляю',
|
||||
'path' : 'Путь',
|
||||
'aliasfor' : 'Указывает на',
|
||||
'locked' : 'Защита',
|
||||
'dim' : 'Разрешение',
|
||||
'files' : 'Файлы',
|
||||
'folders' : 'Папки',
|
||||
'items' : 'Объекты',
|
||||
'yes' : 'да',
|
||||
'no' : 'нет',
|
||||
'link' : 'Ссылка',
|
||||
'searcresult' : 'Результаты поиска',
|
||||
'selected' : 'выбрано',
|
||||
'about' : 'О программе',
|
||||
'shortcuts' : 'Горячие клавиши',
|
||||
'help' : 'Помощь',
|
||||
'webfm' : 'Файловый менеджер для web',
|
||||
'ver' : 'Версия',
|
||||
'protocol' : 'версия протокола',
|
||||
'homepage' : 'Сайт проекта',
|
||||
'docs' : 'Документация',
|
||||
'github' : 'Fork us on Github',
|
||||
'twitter' : 'Follow us in twitter',
|
||||
'facebook' : 'Join us on facebook',
|
||||
'team' : 'Авторы',
|
||||
'chiefdev' : 'ведущий разработчик',
|
||||
'developer' : 'разработчик',
|
||||
'contributor' : 'участник',
|
||||
'maintainer' : 'сопровождение проекта',
|
||||
'translator' : 'переводчик',
|
||||
'icons' : 'Иконки',
|
||||
'dontforget' : 'и не забудьте взять своё полотенце',
|
||||
'shortcutsof' : 'Горячие клавиши отключены',
|
||||
'dropFiles' : 'Бросить файлы',
|
||||
'or' : 'или',
|
||||
'selectForUpload' : 'Выбрать файлы для загрузки',
|
||||
'moveFiles' : 'Перемещение файлов',
|
||||
'copyFiles' : 'Копирование файлов',
|
||||
'rmFromPlaces' : 'Удалить из избранного',
|
||||
'untitled folder' : 'новая папка',
|
||||
'untitled file.txt' : 'новый файл.txt',
|
||||
'aspectRatio' : 'Сохранять пропорции',
|
||||
'scale' : 'Масштаб',
|
||||
'width' : 'Ширина',
|
||||
'height' : 'Высота',
|
||||
'resize' : 'Размер',
|
||||
'crop' : 'Кадрировать',
|
||||
'rotate' : 'Поворот',
|
||||
'rotate-cw' : 'Поворот на 90 градусов по часовой стрелке',
|
||||
'rotate-ccw' : 'Поворот на 90 градусов против часовой стрелке',
|
||||
'degree' : '°',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : 'Неизвестный',
|
||||
'kindFolder' : 'Папка',
|
||||
'kindAlias' : 'Ссылка',
|
||||
'kindAliasBroken' : 'Битая ссылка',
|
||||
// applications
|
||||
'kindApp' : 'Приложение',
|
||||
'kindPostscript' : 'Документ Postscript',
|
||||
'kindMsOffice' : 'Документ Microsoft Office',
|
||||
'kindMsWord' : 'Документ Microsoft Word',
|
||||
'kindMsExcel' : 'Документ Microsoft Excel',
|
||||
'kindMsPP' : 'Презентация Microsoft Powerpoint',
|
||||
'kindOO' : 'Документ Open Office',
|
||||
'kindAppFlash' : 'Приложение Flash',
|
||||
'kindPDF' : 'Документ PDF',
|
||||
'kindTorrent' : 'Файл Bittorrent',
|
||||
'kind7z' : 'Архив 7z',
|
||||
'kindTAR' : 'Архив TAR',
|
||||
'kindGZIP' : 'Архив GZIP',
|
||||
'kindBZIP' : 'Архив BZIP',
|
||||
'kindZIP' : 'Архив ZIP',
|
||||
'kindRAR' : 'Архив RAR',
|
||||
'kindJAR' : 'Файл Java JAR',
|
||||
'kindTTF' : 'Шрифт True Type',
|
||||
'kindOTF' : 'Шрифт Open Type',
|
||||
'kindRPM' : 'Пакет RPM',
|
||||
// texts
|
||||
'kindText' : 'Текстовый документ',
|
||||
'kindTextPlain' : 'Простой текст',
|
||||
'kindPHP' : 'Исходник PHP',
|
||||
'kindCSS' : 'Таблицы стилей CSS',
|
||||
'kindHTML' : 'Документ HTML',
|
||||
'kindJS' : 'Исходник Javascript',
|
||||
'kindRTF' : 'Rich Text Format',
|
||||
'kindC' : 'Исходник C',
|
||||
'kindCHeader' : 'Заголовочный файл C',
|
||||
'kindCPP' : 'Исходник C++',
|
||||
'kindCPPHeader' : 'Заголовочный файл C++',
|
||||
'kindShell' : 'Unix shell script',
|
||||
'kindPython' : 'Исходник Python',
|
||||
'kindJava' : 'Исходник Java',
|
||||
'kindRuby' : 'Исходник Ruby',
|
||||
'kindPerl' : 'Исходник Perl',
|
||||
'kindSQL' : 'Исходник SQL',
|
||||
'kindXML' : 'XML document',
|
||||
'kindAWK' : 'Исходник AWK',
|
||||
'kindCSV' : 'Текст с разделителями',
|
||||
'kindDOCBOOK' : 'Документ Docbook XML',
|
||||
// images
|
||||
'kindImage' : 'Изображение',
|
||||
'kindBMP' : 'Изображение BMP',
|
||||
'kindJPEG' : 'Изображение JPEG',
|
||||
'kindGIF' : 'Изображение GIF',
|
||||
'kindPNG' : 'Изображение PNG',
|
||||
'kindTIFF' : 'Изображение TIFF',
|
||||
'kindTGA' : 'Изображение TGA',
|
||||
'kindPSD' : 'Изображение Adobe Photoshop',
|
||||
'kindXBITMAP' : 'Изображение X bitmap',
|
||||
'kindPXM' : 'Изображение Pixelmator',
|
||||
// media
|
||||
'kindAudio' : 'Аудио файл',
|
||||
'kindAudioMPEG' : 'Аудио MPEG',
|
||||
'kindAudioMPEG4' : 'Аудио MPEG-4',
|
||||
'kindAudioMIDI' : 'Аудио MIDI',
|
||||
'kindAudioOGG' : 'Аудио Ogg Vorbis',
|
||||
'kindAudioWAV' : 'Аудио WAV',
|
||||
'AudioPlaylist' : 'Плейлист MP3',
|
||||
'kindVideo' : 'Видео файл',
|
||||
'kindVideoDV' : 'Видео DV',
|
||||
'kindVideoMPEG' : 'Видео MPEG',
|
||||
'kindVideoMPEG4' : 'Видео MPEG-4',
|
||||
'kindVideoAVI' : 'Видео AVI',
|
||||
'kindVideoMOV' : 'Видео Quick Time',
|
||||
'kindVideoWM' : 'Видео Windows Media',
|
||||
'kindVideoFlash' : 'Видео Flash',
|
||||
'kindVideoMKV' : 'Видео Matroska',
|
||||
'kindVideoOGG' : 'Видео Ogg'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
190
simpla/design/js/elfinder/js/i18n/elfinder.sk.js
Normal file
@@ -0,0 +1,190 @@
|
||||
/*
|
||||
* Slovak translation
|
||||
* @author Jakub Olexa <olexa@xland.cz>
|
||||
* @version 2011-03-11
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.sk = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Koreňový adresár neexistuje',
|
||||
'Unable to connect to backend' : 'Nepodarilo sa spojiť so serverom',
|
||||
'Access denied' : 'Prístup zamietnutý',
|
||||
'Invalid backend configuration' : 'Nesprávna konfigurácia serveru',
|
||||
'Unknown command' : 'Neznámy príkaz',
|
||||
'Command not allowed' : 'Príkaz nie je povolený',
|
||||
'Invalid parameters' : 'Nesprávne parametry',
|
||||
'File not found' : 'Súbor nenájdený',
|
||||
'Invalid name' : 'Neplatný názov',
|
||||
'File or folder with the same name already exists' : 'Súbor alebo zložka s rovnakým názvom už existuje',
|
||||
'Unable to rename file' : 'Nepodarilo sa premenovať súbor',
|
||||
'Unable to create folder' : 'Nepodarilo sa založiť zložku',
|
||||
'Unable to create file' : 'Nepodarilo sa vytvoriť súbor',
|
||||
'No file to upload' : 'Žiadne súbory na nahratie',
|
||||
'Select at least one file to upload' : 'Vyberte aspoň jeden súbor na nahratie',
|
||||
'File exceeds the maximum allowed filesize' : 'Súbor prekračuje maximálnu povolenú veľkosť',
|
||||
'Data exceeds the maximum allowed size' : 'Dáta prekračujú maximálnu povolenú veľkosť',
|
||||
'Not allowed file type' : 'Tento typ súboru nie je povolený',
|
||||
'Unable to upload file' : 'Nepodarilo sa nahrať súbor',
|
||||
'Unable to upload files' : 'Nepodarilo sa nahrať súbory',
|
||||
'Unable to remove file' : 'Nepodarilo sa zmazať súbor',
|
||||
'Unable to save uploaded file' : 'Nepodarilo sa uložiť nahratý súbor',
|
||||
'Some files was not uploaded' : 'Niektoré súbory neboli nahraté',
|
||||
'Unable to copy into itself' : 'Nie je možné kopírovať do seba samého',
|
||||
'Unable to move files' : 'Nepodarilo sa presunúť súbory',
|
||||
'Unable to copy files' : 'Nepodarilo sa skopírovať súbory',
|
||||
'Unable to create file copy' : 'Nepodarilo sa vytvoriť kópiu súboru',
|
||||
'File is not an image' : 'Súbor nie je obrázok',
|
||||
'Unable to resize image' : 'Obrázok sa nepodarilo zmenšiť',
|
||||
'Unable to write to file' : 'Nepodaril sa zápis do súboru',
|
||||
'Unable to create archive' : 'Nepodarilo sa vytvorenie archívu',
|
||||
'Unable to extract files from archive' : 'Nepodarilo sa rozbaľovanie archívu',
|
||||
'Unable to open broken link' : 'Nie je možné otvoriť nefunkčný odkaz',
|
||||
'File URL disabled by connector config' : 'URL adresy súborov sú zakázané konfiguráciou',
|
||||
/* statusbar */
|
||||
'items' : 'položiek',
|
||||
'selected items' : 'označených položiek',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Späť',
|
||||
'Reload' : 'Obnoviť',
|
||||
'Open' : 'Otvoriť',
|
||||
'Preview with Quick Look' : 'Zobraziť náhľad',
|
||||
'Select file' : 'Označiť súbor',
|
||||
'New folder' : 'Nová zložka',
|
||||
'New text file' : 'Nový textový súbor',
|
||||
'Upload files' : 'Nahrať súbory',
|
||||
'Copy' : 'Kopírovať',
|
||||
'Cut' : 'Vystrihnúť',
|
||||
'Paste' : 'Vložiť',
|
||||
'Duplicate' : 'Duplikovat',
|
||||
'Remove' : 'Odstrániť',
|
||||
'Rename' : 'Premenovať',
|
||||
'Edit text file' : 'Upraviť textový dokument',
|
||||
'View as icons' : 'Zobraziť ikony',
|
||||
'View as list' : 'Zobraziť zoznam',
|
||||
'Resize image' : 'Upraviť veľkosť',
|
||||
'Create archive' : 'Vytvoriť archív',
|
||||
'Uncompress archive' : 'Rozbaliť archív',
|
||||
'Get info' : 'Informace',
|
||||
'Help' : 'Nápověda',
|
||||
'Dock/undock filemanger window' : 'Dokovať/oddokovať okno správcu súborov',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maximálna povolená veľkosť súborov',
|
||||
'Add field' : 'Pridať pole',
|
||||
'File info' : 'Informácie o súbore',
|
||||
'Folder info' : 'Informácie o zložke',
|
||||
'Name' : 'Název',
|
||||
'Kind' : 'Druh',
|
||||
'Size' : 'Veľkost',
|
||||
'Modified' : 'Upravené',
|
||||
'Permissions' : 'Práva',
|
||||
'Link to' : 'Odkaz na',
|
||||
'Dimensions' : 'Rozmery',
|
||||
'Confirmation required' : 'Vyžadovanie potvrdenia',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Ste si istý, že chcete odstrániť súbory?<br />Táto operácia je nevratná!',
|
||||
/* permissions */
|
||||
'read' : 'čtení',
|
||||
'write' : 'zápis',
|
||||
'remove' : 'mazání',
|
||||
/* dates */
|
||||
'Jan' : 'Jan',
|
||||
'Feb' : 'Febr',
|
||||
'Mar' : 'Mar',
|
||||
'Apr' : 'Apr',
|
||||
'May' : 'Máj',
|
||||
'Jun' : 'Jún',
|
||||
'Jul' : 'Júl',
|
||||
'Aug' : 'Aug',
|
||||
'Sep' : 'Sep',
|
||||
'Oct' : 'Okt',
|
||||
'Nov' : 'Nov',
|
||||
'Dec' : 'Dec',
|
||||
'Today' : 'Dnes',
|
||||
'Yesterday' : 'Včera',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Neznámy',
|
||||
'Folder' : 'Zložka',
|
||||
'Alias' : 'Odkaz',
|
||||
'Broken alias' : 'Nefunkčný odkaz',
|
||||
'Plain text' : 'Textový dokument',
|
||||
'Postscript document' : 'Postscript dokument',
|
||||
'Application' : 'Aplikácie',
|
||||
'Microsoft Office document' : 'Dokument Microsoft Office',
|
||||
'Microsoft Word document' : 'Dokument Microsoft Word',
|
||||
'Microsoft Excel document' : 'Zošit Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Prezentácia Microsoft Powerpoint',
|
||||
'Open Office document' : 'Dokument Open Office',
|
||||
'Flash application' : 'Aplikace Flash',
|
||||
'XML document' : 'Dokument XML',
|
||||
'Bittorrent file' : 'Bittorrent soubor',
|
||||
'7z archive' : 'Archív 7z',
|
||||
'TAR archive' : 'Archív TAR',
|
||||
'GZIP archive' : 'Archív GZIP',
|
||||
'BZIP archive' : 'Archív BZIP',
|
||||
'ZIP archive' : 'Archív ZIP',
|
||||
'RAR archive' : 'Archív RAR',
|
||||
'Javascript application' : 'Aplikácia Javascript',
|
||||
'PHP source' : 'Zdroják PHP',
|
||||
'HTML document' : 'Dokument HTML',
|
||||
'Javascript source' : 'Zdroják Javascript',
|
||||
'CSS style sheet' : 'CSS style sheet',
|
||||
'C source' : 'Zdroják C',
|
||||
'C++ source' : 'Zdroják C++',
|
||||
'Unix shell script' : 'Skript Unix shell',
|
||||
'Python source' : 'Zdroják Python',
|
||||
'Java source' : 'Zdroják Java',
|
||||
'Ruby source' : 'Zdroják Ruby',
|
||||
'Perl script' : 'Skript Perl',
|
||||
'BMP image' : 'Obrázok BMP',
|
||||
'JPEG image' : 'Obrázok JPEG',
|
||||
'GIF Image' : 'Obrázok GIF',
|
||||
'PNG Image' : 'Obrázok PNG',
|
||||
'TIFF image' : 'Obrázok TIFF',
|
||||
'TGA image' : 'Obrázok TGA',
|
||||
'Adobe Photoshop image' : 'Obrázok Adobe Photoshop',
|
||||
'MPEG audio' : 'MPEG nahrávka',
|
||||
'MIDI audio' : 'MIDI skladba',
|
||||
'Ogg Vorbis audio' : 'Nahrávka Ogg Vorbis',
|
||||
'MP4 audio' : 'Nahrávka MP4',
|
||||
'WAV audio' : 'Nahrávka WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : 'Skratky',
|
||||
'Select all files' : 'Označiť všetky súbory',
|
||||
'Copy/Cut/Paste files' : 'Kopírovať/Vystrihnúť/Vložiť súbory',
|
||||
'Open selected file/folder' : 'Oteřít zvolený soubor/složku',
|
||||
'Open/close QuickLook window' : 'Otvoriť/zavrieť okno náhľadu',
|
||||
'Remove selected files' : 'Zmazať označené súbory',
|
||||
'Selected files or current directory info' : 'Informácie o zvolených súboroch alebo aktuálnej zložke',
|
||||
'Create new directory' : 'Vytvoriť novú zložku',
|
||||
'Open upload files form' : 'Otvoriť okno pre nahrávanie súborov',
|
||||
'Select previous file' : 'Vybrať predchádzajúci súbor',
|
||||
'Select next file' : 'Vybrať nasledujúci súbor',
|
||||
'Return into previous folder' : 'Návrat do predchádzajúcej zložky',
|
||||
'Increase/decrease files selection' : 'Rozšíriť/zúžiť výber súborov',
|
||||
'Authors' : 'Autori',
|
||||
'Sponsors' : 'Sponzoři',
|
||||
'elFinder: Web file manager' : 'elFinder: Webový správca súborov',
|
||||
'Version' : 'Verzia',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42 Ltd',
|
||||
'Donate to support project development' : 'Prispejte na ďalší vývoj projektu',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripty/php programování: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programování, technická podpora: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnih',
|
||||
'Spanish localization' : 'Slovenský preklad: Xland. CZ, helpdesk@xland.cz',
|
||||
'Icons' : 'Ikony',
|
||||
'License: BSD License' : 'Licencia: BSD License',
|
||||
'elFinder documentation' : 'Dokumentácia elFinder',
|
||||
'Simple and usefull Content Management System' : 'Jednoduchý Content Management Systém',
|
||||
'Support project development and we will place here info about you' : 'Podporte tento projekt a my vás tu spomenieme',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Kontaktujte nás, pokiaľ potrebujete pomoc s integráciou elFindera do vášho produktu',
|
||||
'elFinder support following shortcuts' : 'elFinder podporuje nasledujúce skratky',
|
||||
'helpText' : 'elFinder funguje rovnako ako správca súborov vo vašom počítači.<br />Operácie sa prevádzajú pomocou tlačítok na hornej lište. Pokiaľ vám nie je jasný význam ikony, podržte nad ňou myš a zobrazí sa vám nápoveda.<br/>Operácia s existujúcimi súbormi/zložkami je možné prevádzať pomocou kontextového menu (klinite prvým tlačítkom myši).<br/> Pre hromadné kopírovanie/mazanie súborov/adresárov ich označte podržaním klávesy Shift/Alt + kliknutím ľavého tlačítka myši.'
|
||||
};
|
||||
})(jQuery);
|
||||
191
simpla/design/js/elfinder/js/i18n/elfinder.th.js
Normal file
@@ -0,0 +1,191 @@
|
||||
/**
|
||||
* Thai translation
|
||||
* @author Jaideejung007 (Anusuk Sangubon) <jaideejung007@gmail.com>, http://www.thzaa.com
|
||||
* @version 2010-09-26
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.th = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'โฟล์เดอร์หลักนี้ไม่มีอยู่',
|
||||
'Unable to connect to backend' : 'ไม่สามารถเชื่อมต่อกับแบ็กเอนด์ได้',
|
||||
'Access denied' : 'ไม่อนุญาตให้เข้าใช้งาน',
|
||||
'Invalid backend configuration' : 'การกำหนดค่าแบ็กเอนด์ไม่ถูกต้อง',
|
||||
'Unknown command' : 'ไม่รู้จักคำสั่ง',
|
||||
'Command not allowed' : 'คำสั่งไม่อนุญาตให้ใช้',
|
||||
'Invalid parameters' : 'พารามิเตอร์ไม่ถูกต้อง',
|
||||
'File not found' : 'ไม่พบไฟล์',
|
||||
'Invalid name' : 'ชื่อไม่ถูกต้อง',
|
||||
'File or folder with the same name already exists' : 'ไฟล์หรือโฟลเดอร์มีชื่อนี้อยู่แล้ว',
|
||||
'Unable to rename file' : 'ไม่สามารถเปลี่ยนชื่อไฟล์ได้',
|
||||
'Unable to create folder' : 'ไม่สามารถสร้างโฟลเดอร์ได้',
|
||||
'Unable to create file' : 'ไม่สามารถสร้างไฟล์ได้',
|
||||
'No file to upload' : 'ไม่มีไฟล์ที่จะอัพโหลด',
|
||||
'Select at least one file to upload' : 'กรุณาเลือกไฟล์อย่างน้อยหนึ่งที่จะอัพโหลด',
|
||||
'File exceeds the maximum allowed filesize' : 'ไฟล์เกินขนาดไฟล์สูงสุดที่อนุญาตไว้',
|
||||
'Data exceeds the maximum allowed size' : 'ข้อมูลเกินขนาดสูงสุดที่อนุญาตไว้',
|
||||
'Not allowed file type' : 'ไม่อนุญาตให้ใช้ชนิดไฟล์นี้',
|
||||
'Unable to upload file' : 'ไม่สามารถอัพโหลดไฟล์ได้',
|
||||
'Unable to upload files' : 'ไม่สามารถอัพโหลดไฟล์ได้',
|
||||
'Unable to remove file' : 'ไม่สามารถลบไฟล์ได้',
|
||||
'Unable to save uploaded file' : 'ไม่สามารถบันทึกการอัพโหลดไฟล์',
|
||||
'Some files was not uploaded' : 'มีไฟล์บางไฟล์ที่ยังไม่ได้อัพโหลด',
|
||||
'Unable to copy into itself' : 'ไม่สามารถคัดลอกลงในที่นี้ได้',
|
||||
'Unable to move files' : 'ไม่สามารถย้ายไฟล์ได้',
|
||||
'Unable to copy files' : 'ไม่สามารถคัดลอกไฟล์ได้',
|
||||
'Unable to create file copy' : 'ไม่สามารถสร้างสำเนาไฟล์ได้',
|
||||
'File is not an image' : 'ไฟล์นี้ไม่ใช่รูปภาพ',
|
||||
'Unable to resize image' : 'ไม่สามารถปรับขนาดภาพนี้ได้',
|
||||
'Unable to write to file' : 'ไม่สามารถเขียนไปยังไฟล์ได้',
|
||||
'Unable to create archive' : 'ไม่สามารถสร้างไฟล์บีบอัดได้',
|
||||
'Unable to extract files from archive' : 'ไม่สามารถแตกไฟล์จากไฟล์บีบอัดได้',
|
||||
'Unable to open broken link' : 'ไม่สามารถเปิดลิงค์ที่เสียได้',
|
||||
'File URL disabled by connector config' : 'URL ไฟล์ถูกปิดการใช้งานโดยเชื่อมต่อผ่านการตั้งค่า',
|
||||
/* statusbar */
|
||||
'items' : 'รายการ',
|
||||
'selected items' : 'รายการที่เลือก',
|
||||
/* commands/buttons */
|
||||
'Back' : 'ย้อนกลับ',
|
||||
'Reload' : 'รีเฟรช',
|
||||
'Open' : 'เปิด',
|
||||
'Preview with Quick Look' : 'ดูตัวอย่างแบบด่วน',
|
||||
'Select file' : 'เลือกไฟล์',
|
||||
'New folder' : 'โฟลเดอร์ใหม่',
|
||||
'New text file' : 'ไฟล์ข้อความใหม่',
|
||||
'Upload files' : 'อัพโหลดไฟล์',
|
||||
'Copy' : 'คัดลอก',
|
||||
'Cut' : 'ตัด',
|
||||
'Paste' : 'วาง',
|
||||
'Duplicate' : 'สำเนา',
|
||||
'Remove' : 'ลบ',
|
||||
'Rename' : 'เปลี่ยนชื่อ',
|
||||
'Edit text file' : 'แก้ไขไฟล์ข้อความ',
|
||||
'View as icons' : 'ดูเป็นไอคอน',
|
||||
'View as list' : 'ดูเป็นรายการ',
|
||||
'Resize image' : 'ปรับขนาดภาพ',
|
||||
'Create archive' : 'สร้างไฟล์บีบอัด',
|
||||
'Uncompress archive' : 'แตกไฟล์บีบอัด',
|
||||
'Get info' : 'คุณสมบัติ',
|
||||
'Help' : 'ช่วยเหลือ',
|
||||
'Dock/undock filemanager window' : 'ล๊อค/ปลอดล็อค หน้าต่างการจัดการไฟล์',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'ขนาดไฟล์สูงสุดที่อนุญาต',
|
||||
'Add field' : 'เพิ่มช่องอัพโหลด',
|
||||
'File info' : 'ข้อมูลไฟล์',
|
||||
'Folder info' : 'ข้อมูลโฟลเดอร์',
|
||||
'Name' : 'ชื่อ',
|
||||
'Kind' : 'รูปแบบ',
|
||||
'Size' : 'ขนาด',
|
||||
'Modified' : 'แก้ไข',
|
||||
'Permissions' : 'สิทธิ์',
|
||||
'Link to' : 'ลิงค์ไปยัง',
|
||||
'Dimensions' : 'ความละเอียด',
|
||||
'Confirmation required' : 'ยืนยันการดำเนินการ',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'คุณแน่ใจว่าจะลบไฟล์นี้? <br />ซึ่งไม่สามารถกู้คืนได้',
|
||||
/* permissions */
|
||||
'read' : 'อ่าน',
|
||||
'write' : 'เขียน',
|
||||
'remove' : 'ลบ',
|
||||
/* dates */
|
||||
'Jan' : 'ม.ค.',
|
||||
'Feb' : 'ก.พ.',
|
||||
'Mar' : 'มี.ค.',
|
||||
'Apr' : 'เม.ย.',
|
||||
'May' : 'พ.ค.',
|
||||
'Jun' : 'มิ.ย.',
|
||||
'Jul' : 'ก.ค.',
|
||||
'Aug' : 'ส.ค.',
|
||||
'Sep' : 'ก.ย.',
|
||||
'Oct' : 'ต.ค.',
|
||||
'Nov' : 'พ.ย.',
|
||||
'Dec' : 'ธ.ค.',
|
||||
'Today' : 'วันนี้',
|
||||
'Yesterday' : 'เมื่อวาน',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'ไม่ทราบ',
|
||||
'Folder' : 'โฟลเดอร์',
|
||||
'Alias' : 'นามแฝง',
|
||||
'Broken alias' : 'นามแฝง Broken',
|
||||
'Plain text' : 'ข้อความธรรมดา',
|
||||
'Postscript document' : 'สคริปต์เอกสาร',
|
||||
'Application' : 'แอพพลิเคชัน',
|
||||
'Microsoft Office document' : 'เอกสารไมโครซอฟต์ออฟฟิส',
|
||||
'Microsoft Word document' : 'เอกสารไมโครซอฟต์เวิร์ด',
|
||||
'Microsoft Excel document' : 'เอกสารไมโครซอฟต์เอกเซล',
|
||||
'Microsoft Powerpoint presentation' : 'เอกสารไมโครซอฟต์พาวเวอร์พอยท์',
|
||||
'Open Office document' : 'เอกสารโอเพ็นออฟฟิส',
|
||||
'Flash application' : 'แอพพลิเคชันแฟลช',
|
||||
'XML document' : 'เอกสาร XML',
|
||||
'Bittorrent file' : 'ไฟล์บิตทอร์เรนท์',
|
||||
'7z archive' : 'เอกสารบีบอัด 7z',
|
||||
'TAR archive' : 'เอกสารบีบอัด TAR',
|
||||
'GZIP archive' : 'เอกสารบีบอัด GZIP',
|
||||
'BZIP archive' : 'เอกสารบีบอัด BZIP',
|
||||
'ZIP archive' : 'เอกสารบีบอัด ZIP',
|
||||
'RAR archive' : 'เอกสารบีบอัด RAR',
|
||||
'Javascript application' : 'แอพพลิเคชันจาวาสคริปต์',
|
||||
'PHP source' : 'ซอร์สโค๊ด PHP',
|
||||
'HTML document' : 'เอกสาร HTML',
|
||||
'Javascript source' : 'ซอร์สโค๊ดจาวาสคริปต์',
|
||||
'CSS style sheet' : 'เอกสาร CSS',
|
||||
'C source' : 'ซอร์สโค๊ด C',
|
||||
'C++ source' : 'ซอร์สโค๊ด C++',
|
||||
'Unix shell script' : 'สคริปต์ Unix shell',
|
||||
'Python source' : 'ซอร์สโค๊ด Python',
|
||||
'Java source' : 'ซอร์สโค๊ด Java',
|
||||
'Ruby source' : 'ซอร์สโค๊ด Ruby',
|
||||
'Perl script' : 'สคริปต์ Perl',
|
||||
'BMP image' : 'รูปภาพ BMP',
|
||||
'JPEG image' : 'รูปภาพ JPEG',
|
||||
'GIF Image' : 'รูปภาพ GIF',
|
||||
'PNG Image' : 'รูปภาพ PNG',
|
||||
'TIFF image' : 'รูปภาพ TIFF',
|
||||
'TGA image' : 'รูปภาพ TGA',
|
||||
'Adobe Photoshop image' : 'รูปภาพ Adobe Photoshop',
|
||||
'MPEG audio' : 'เสียง MPEG',
|
||||
'MIDI audio' : 'เสียง MIDI',
|
||||
'Ogg Vorbis audio' : 'เสียง Ogg Vorbis',
|
||||
'MP4 audio' : 'เสียง MP4',
|
||||
'WAV audio' : 'เสียง WAV',
|
||||
'DV video' : 'วีดีโอ DV',
|
||||
'MP4 video' : 'วีดีโอ MP4',
|
||||
'MPEG video' : 'วีดีโอ MPEG',
|
||||
'AVI video' : 'วีดีโอ AVI',
|
||||
'Quicktime video' : 'วีดีโอ Quicktime',
|
||||
'WM video' : 'วีดีโอ WM',
|
||||
'Flash video' : 'วีดีโอ Flash',
|
||||
'Matroska video' : 'วีดีโอ Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'เลือกไฟล์ทั้งหมด',
|
||||
'Copy/Cut/Paste files' : 'คัดลอก/ตัด/วางไฟล์',
|
||||
'Open selected file/folder' : 'เปิดไฟล์/โฟลเดอร์ที่เลือกไว้',
|
||||
'Open/close QuickLook window' : 'เปิด/ปิดหน้าต่างดูแบบด่วน',
|
||||
'Remove selected files' : 'ลบไฟล์ที่เลือก',
|
||||
'Selected files or current directory info' : 'ไฟล์ข้อมูลที่เลือกหรือโฟลเดอร์ปัจจุบัน',
|
||||
'Create new directory' : 'สร้างโฟลเดอร์ใหม่',
|
||||
'Open upload files form' : 'เปิดแบบฟอร์มอัพโหลดไฟล์',
|
||||
'Select previous file' : 'เลือกไฟล์ก่อนหน้า',
|
||||
'Select next file' : 'เลือกไฟล์ถัดไป',
|
||||
'Return into previous folder' : 'กลับไปยังโฟลเดอร์ก่อนหน้า',
|
||||
'Increase/decrease files selection' : 'เพิ่ม/ลดการเลือกไฟล์',
|
||||
'Authors' : 'ผู้พัฒนา',
|
||||
'Sponsors' : 'ผู้ให้การสนับสนุน',
|
||||
'elFinder: Web file manager' : 'elFinder: ระบบจัดการไฟล์เว็บ',
|
||||
'Version' : 'เวอร์ชัน',
|
||||
'Copyright: Studio 42 LTD' : 'ลิขสิทธิ์: Studio 42',
|
||||
'Donate to support project development' : 'บริจาคเพื่อสนับสนุนการพัฒนาโครงการ',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'ผู้เขียนโปรแกรม Javascripts/PHP: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'ผู้เขียนโปรแกรม Python, ข้อมูลสนับสนุน: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'ผู้ออกแบบ: Valentin Razumnyh',
|
||||
'Spanish localization' : 'ผู้แปลภาษาสเปน',
|
||||
'Icons' : 'ไอคอน',
|
||||
'License: BSD License' : 'ใบอนุญาต: BSD License',
|
||||
'elFinder documentation' : 'เอกสาร elFinder',
|
||||
'Simple and usefull Content Management System' : 'การใช้งาน CMS',
|
||||
'Support project development and we will place here info about you' : 'โครงการสนับสนุนการพัฒนาและเราจะวางที่นี่ข้อมูลเกี่ยวกับคุณ',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'อีเมล์สำหรับติดต่อเรา หากคุณต้องการความช่วยเหลือในการปรังปรุงผลิตภัณฑ์ elFinder',
|
||||
'elFinder support following shortcuts' : 'สนับสนุนทางลัด elFinder ต่อไปนี้',
|
||||
'helpText' : 'การทำงานของ elFinder จะอยู่ภายใต้การควบคุมของเซิร์ฟเวอร์<br />สคริปต์นี้จะช่วยให้คุณสามารถจัดการระบบไฟล์ของคุณได้อย่างง่ายดาย เช่น ย้าย, ลบ, คัดลอก, แก้ไข, อัพโหลด, เปลี่ยนชื่อ, เปิดดูข้อมูลไฟล์ และอื่นๆ ของคุณผ่านระบบออนไลน์นี้ได้โดยง่าย<br />ภาษาไทยโดย <a href=http://www.thzaa.com target=_blank title="อนุศักดิ์ แสงอุบล(Anusuk Sangubon)">Jaideejung007</a>'
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
191
simpla/design/js/elfinder/js/i18n/elfinder.tr.js
Normal file
@@ -0,0 +1,191 @@
|
||||
/**
|
||||
* Turkish translation
|
||||
* @author Özgür Çakırca <dijitalartist@gmail.com>
|
||||
* @author Mesut Erdemir <erdemirmesut@gmail.com>
|
||||
* @version 2010-11-03
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.tr = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Kök dizin mevcut değil',
|
||||
'Unable to connect to backend' : 'Sunucu bağlantısı kurulamadı',
|
||||
'Access denied' : 'Giriş engellendi',
|
||||
'Invalid backend configuration' : 'Geçersiz sunucu yapılandırması',
|
||||
'Unknown command' : 'Bilinmeyen komut',
|
||||
'Command not allowed' : 'Bu komut izin verilmiyor',
|
||||
'Invalid parameters' : 'Geçersiz parametreler',
|
||||
'File not found' : 'Dosya bulunamadı',
|
||||
'Invalid name' : 'Geçersiz isim',
|
||||
'File or folder with the same name already exists' : 'Dosya veya aynı adı taşıyan klasör zaten var',
|
||||
'Unable to rename file' : 'Dosya yeniden adlandırılamıyor',
|
||||
'Unable to create folder' : 'Klasör oluşturulamıyor',
|
||||
'Unable to create file' : 'Dosya oluşturulamıyor',
|
||||
'No file to upload' : 'Dosya yüklenemiyor',
|
||||
'Select at least one file to upload' : 'Yüklemek için en az bir dosyayı seçin',
|
||||
'File exceeds the maximum allowed filesize' : 'Dosyası maksimum dosya boyutu aşıyor',
|
||||
'Not allowed file type' : 'Bu dosya tipine izin verilmiyor',
|
||||
'Unable to upload file' : 'Dosya yüklemek için açılamıyor',
|
||||
'Unable to upload files' : 'Dosyalar yüklemek için açılamıyor',
|
||||
'Unable to remove file' : 'Dosya kaldırılamıyor',
|
||||
'Unable to save uploaded file' : 'Yüklenen dosya kaydedilemiyor',
|
||||
'Some files was not uploaded' : 'Bazı dosyalar yüklenemedi',
|
||||
'Unable to copy into itself' : 'Kendi içindeki dosyalar kopyalanamıyor',
|
||||
'Unable to move files' : 'Dosyalar taşınamıyor',
|
||||
'Unable to copy files' : 'Dosyalar kopyalanamıyor',
|
||||
'Unable to create file copy' : 'Kopyalanan dosya oluşturulamıyor',
|
||||
'File is not an image' : 'Bu resim dosyası değildir',
|
||||
'Unable to resize image' : 'Resmi yeniden boyutlandırmak için açılamıyor',
|
||||
'Unable to write to file' : 'Dosya yazılamıyor',
|
||||
'Unable to create archive' : 'Arşiv oluşturulamadı',
|
||||
'Unable to extract files from archive' : 'Arşiv dosyaları ayıklanamadı',
|
||||
'Unable to open broken link' : 'Kırık link açılamıyor',
|
||||
'File URL disabled by connector config' : 'Bağlantı dosyası devre dışı',
|
||||
/* statusbar */
|
||||
'items' : 'nesneler',
|
||||
'selected items' : 'Seçilen nesneleri',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Geri',
|
||||
'Reload' : 'Yenile',
|
||||
'Open' : 'Aç',
|
||||
'Preview with Quick Look' : 'Hızlı görünüm',
|
||||
'Select file' : 'Dosyayı seçin',
|
||||
'New folder' : 'Yeni klasör',
|
||||
'New text file' : 'Yeni metin dosyası',
|
||||
'Upload files' : 'Dosya yükle',
|
||||
'Copy' : 'Kopyala',
|
||||
'Cut' : 'Kes',
|
||||
'Paste' : 'Yapıştır',
|
||||
'Duplicate' : 'Aynısından Çoğalt',
|
||||
'Remove' : 'Kaldır',
|
||||
'Rename' : 'Yeniden adlandır',
|
||||
'Edit text file' : 'Metin dosyasını düzenle',
|
||||
'View as icons' : 'Simge Görünümü',
|
||||
'View as list' : 'Liste Görünümü',
|
||||
'Resize image' : 'Resmi yeniden boyutlandır',
|
||||
'Create archive' : 'Arşiv yarat',
|
||||
'Uncompress archive' : 'Arşivi aç',
|
||||
'Get info' : 'Bilgi',
|
||||
'Help' : 'Yardım',
|
||||
'Dock/undock filemanger window' : 'Kilitle/Kilidi kaldır dosya yöneticisinin',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maksimum dosya boyutu',
|
||||
'Add field' : 'Alan ekle',
|
||||
'File info' : 'Dosya Özellikleri',
|
||||
'Folder info' : 'Klasör Özellikleri',
|
||||
'Name' : 'Ad',
|
||||
'Kind' : 'Türü',
|
||||
'Size' : 'Boyut',
|
||||
'Modified' : 'Değiştirme',
|
||||
'Permissions' : 'Erişim',
|
||||
'Link to' : 'Bağlantı',
|
||||
'Dimensions' : 'Boyutlar',
|
||||
'Confirmation required' : 'Onay gerekli',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Dosyayı silmek istediğinizden emin misiniz? <br /> eylem geri döndürülemez',
|
||||
/* permissions */
|
||||
'read' : 'okuma',
|
||||
'write' : 'yazma',
|
||||
'remove' : 'kaldırma',
|
||||
/* dates */
|
||||
'Jan' : 'Ocak',
|
||||
'Feb' : 'Şubat',
|
||||
'Mar' : 'Mart',
|
||||
'Apr' : 'Nisan',
|
||||
'May' : 'Mayıs',
|
||||
'Jun' : 'Haziran',
|
||||
'Jul' : 'Temmuz',
|
||||
'Aug' : 'Ağustos',
|
||||
'Sep' : 'Eylül',
|
||||
'Oct' : 'Ekim',
|
||||
'Nov' : 'Kasım',
|
||||
'Dec' : 'Aralık',
|
||||
'Today' : 'Bugün',
|
||||
'Yesterday' : 'Dün',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Bilinmeyen',
|
||||
'Folder' : 'Klasör',
|
||||
'Alias' : 'Bağlantı',
|
||||
'Broken alias' : 'Kırık bağlantı',
|
||||
'Plain text' : 'Düz metin',
|
||||
'Postscript document' : 'Postscript belge',
|
||||
'Application' : 'Uygulama',
|
||||
'Microsoft Office document' : 'Microsoft Office belgesi',
|
||||
'Microsoft Word document' : 'Microsoft Word belgesi',
|
||||
'Microsoft Excel document' : 'Microsoft Office Excel belgesi',
|
||||
'Microsoft Powerpoint presentation' : 'Microsoft Office Powerpoint belgesi',
|
||||
'Open Office document' : 'Open Office belgesi',
|
||||
'Flash application' : 'Flash uygulaması',
|
||||
'XML document' : 'XML belgesi',
|
||||
'Bittorrent file' : 'Bittorrent dosyası',
|
||||
'7z archive' : '7z Arşiv',
|
||||
'TAR archive' : 'TAR Arşiv',
|
||||
'GZIP archive' : 'GZIP Arşiv',
|
||||
'BZIP archive' : 'BZIP Arşiv',
|
||||
'ZIP archive' : 'ZIP Arşiv',
|
||||
'RAR archive' : 'RAR Arşiv',
|
||||
'Javascript application' : 'Javascript uygulaması',
|
||||
'PHP source' : 'PHP kaynak',
|
||||
'HTML document' : 'HTML belgesi',
|
||||
'Javascript source' : 'Javascript kaynak',
|
||||
'CSS style sheet' : 'CSS stil belgesi',
|
||||
'C source' : 'C kaynak',
|
||||
'C++ source' : 'C++ kaynak',
|
||||
'Unix shell script' : 'Unix shell script',
|
||||
'Python source' : 'Python kaynak',
|
||||
'Java source' : 'Java kaynak',
|
||||
'Ruby source' : 'Ruby kaynak',
|
||||
'Perl script' : 'Perl script',
|
||||
'BMP image' : 'BMP resim',
|
||||
'JPEG image' : 'JPEG resim',
|
||||
'GIF Image' : 'GIF resim',
|
||||
'PNG Image' : 'PNG resim',
|
||||
'TIFF image' : 'TIFF resim',
|
||||
'TGA image' : 'TGA resim',
|
||||
'Adobe Photoshop image' : 'Adobe Photoshop resim',
|
||||
'MPEG audio' : 'MPEG ses',
|
||||
'MIDI audio' : 'MIDI ses',
|
||||
'Ogg Vorbis audio' : 'Ogg Vorbis ses',
|
||||
'MP4 audio' : 'MP4 ses',
|
||||
'WAV audio' : 'WAV ses',
|
||||
'DV video' : 'DV video',
|
||||
'MP4 video' : 'MP4 video',
|
||||
'MPEG video' : 'MPEG video',
|
||||
'AVI video' : 'AVI video',
|
||||
'Quicktime video' : 'Quicktime video',
|
||||
'WM video' : 'WM video ',
|
||||
'Flash video' : 'Flash video',
|
||||
'Matroska video' : 'Matroska video',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Tüm dosyaları seç',
|
||||
'Copy/Cut/Paste files' : 'Dosyaları Kopyala/Kes/Yapıştır',
|
||||
'Open selected file/folder' : 'Seçilen dosya/klasörü aç',
|
||||
'Open/close QuickLook window' : 'hızlı gözatı aç/kapa',
|
||||
'Remove selected files' : 'Seçilen dosyaları kaldır',
|
||||
'Selected files or current directory info' : 'Seçilen dosyalar veya dizin bilgisi',
|
||||
'Create new directory' : 'Yeni klasör yarat',
|
||||
'Open upload files form' : 'Dosya yükleme formunu aç',
|
||||
'Select previous file' : 'Önceki dosyayı seç',
|
||||
'Select next file' : 'Sonraki dosyayı seç',
|
||||
'Return into previous folder' : 'Bir önceki klasöre dön',
|
||||
'Increase/decrease files selection' : 'Dosyaları seç',
|
||||
'Authors' : 'Yazarlar',
|
||||
'Sponsors' : 'Sponsors',
|
||||
'elFinder: Web file manager' : 'elFinder: Web dosya yöneticisi',
|
||||
'Version' : 'Sürüm',
|
||||
'Copyright: Studio 42 LTD' : 'Telif hakkı: Studio 42 LTD',
|
||||
'Donate to support project development' : 'Proje geliştirimine bağış için',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripts/PHP programcısı: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programlama, teknik destek: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Tasarım: Valentin Razumnih',
|
||||
'Spanish localization' : 'İspanyolca yerelleştirme',
|
||||
'Icons' : 'iconlar',
|
||||
'License: BSD License' : 'Lisans: BSD License',
|
||||
'elFinder documentation' : 'elFinder belgeler',
|
||||
'Simple and usefull Content Management System' : 'Basit kullanışlı ve İçerik Yönetim Sistemi',
|
||||
'Support project development and we will place here info about you' : 'Support project development and we will place here info about you',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Contacts us if you need help integrating elFinder in you products',
|
||||
'helpText' : 'elFinder bilgisayarınızdaki Dosya Yöneticisine benzer çalışır. <br /> üst çubuğu, menü veya klavye kısayol düğmeleri kullanarak dosyalarını işlemek. Basitçe, dosya / klasör taşımak istediğinizde klasör simgesini taşımak için kullanabilirsiniz.<br/>ElFinder aşağıdaki klavye kısayollarını destekler:'
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
190
simpla/design/js/elfinder/js/i18n/elfinder.uk.js
Normal file
@@ -0,0 +1,190 @@
|
||||
/*
|
||||
* Ukranian translation
|
||||
* @author Artem Vasilyev
|
||||
* @version 2010-09-19
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.uk = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Коренева директорія не існує',
|
||||
'Unable to connect to backend' : 'Не вдалося з\'єднатися з сервером',
|
||||
'Access denied' : 'Доступ заборонено',
|
||||
'Invalid backend configuration' : 'Помилки у відповідь сервера',
|
||||
'Unknown command' : 'Невідома команда',
|
||||
'Command not allowed' : 'Виконання команди заборонено',
|
||||
'Invalid parameters' : 'Хибний параметри',
|
||||
'File not found' : 'Файл не знайдено',
|
||||
'Invalid name' : 'Некоректний ім\'я',
|
||||
'File or folder with the same name already exists' : 'Файл або папка з такою назвою вже існує',
|
||||
'Unable to rename file' : 'Не вдалося перейменувати файл',
|
||||
'Unable to create folder' : 'Не вдалося створити папку',
|
||||
'Unable to create file' : 'Не вдалося створити файл',
|
||||
'No file to upload' : 'Немає файлів для завантаження',
|
||||
'Select at least one file to upload' : 'Виберіть, як мінімум, один файл для завантаження',
|
||||
'File exceeds the maximum allowed filesize' : 'Размер файла превышает максимально разрешенный размер',
|
||||
'Not allowed file type' : 'Неразрешенный тип файла',
|
||||
'Unable to upload file' : 'Не вдалося завантажити файл',
|
||||
'Unable to upload files' : 'Не вдалося отримати файли',
|
||||
'Unable to remove file' : 'Не вдалося видалити файл',
|
||||
'Unable to save uploaded file' : 'Не вдалося зберегти завантажений файл',
|
||||
'Some files was not uploaded' : 'Деякі файли не вдалося завантажити',
|
||||
'Unable to copy into itself' : 'Неможливо скопіювати в себе',
|
||||
'Unable to move files' : 'Не вдалося перемістити файли',
|
||||
'Unable to copy files' : 'Не вдалося скопіювати файли',
|
||||
'Unable to create file copy' : 'Не вдалося створити копію файлу',
|
||||
'File is not an image' : 'Файл не є зображенням',
|
||||
'Unable to resize image' : 'Не вдалося змінити розміри зображення',
|
||||
'Unable to write to file' : 'Не вдалося записати файл',
|
||||
'Unable to create archive' : 'Не вдалося створити архів',
|
||||
'Unable to extract files from archive' : 'Не вдалося витягти файли з архіву',
|
||||
'Unable to open broken link' : 'Неможливо відкрити биту посилання',
|
||||
'File URL disabled by connector config' : 'Доступ до адрес файлів заборонений налаштуваннями коннектора',
|
||||
/* statusbar */
|
||||
'items' : 'об\'єктів',
|
||||
'selected items' : 'вибрано об\'єктів',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Назад',
|
||||
'Reload' : 'Оновити',
|
||||
'Open' : 'Відкрити',
|
||||
'Preview with Quick Look' : 'Швидкий перегляд',
|
||||
'Select file' : 'Вибрати файл',
|
||||
'New folder' : 'Нова папка',
|
||||
'New text file' : 'Новий файл',
|
||||
'Upload files' : 'Завантажити файли',
|
||||
'Copy' : 'Копіювати',
|
||||
'Cut' : 'Вирізати',
|
||||
'Paste' : 'Вставити',
|
||||
'Duplicate' : 'Дублювати',
|
||||
'Remove' : 'Видалити',
|
||||
'Rename' : 'Перейменувати',
|
||||
'Edit text file' : 'Редагувати файл',
|
||||
'View as icons' : 'Іконки',
|
||||
'View as list' : 'Список',
|
||||
'Resize image' : 'Розмір зображення',
|
||||
'Create archive' : 'Новий архів',
|
||||
'Uncompress archive' : 'Розпакувати архів',
|
||||
'Get info' : 'Властивості',
|
||||
'Help' : 'Допомога',
|
||||
'Dock/undock filemanager window' : 'Від\'єднати/приєднати Менеджер файлів до сторінки',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Максимальний розмір файлів',
|
||||
'Add field' : 'Додати поле',
|
||||
'File info' : 'Властивості файлу',
|
||||
'Folder info' : 'Параметри папки',
|
||||
'Name' : 'Назва',
|
||||
'Kind' : 'Тип',
|
||||
'Size' : 'Розмір',
|
||||
'Modified' : 'Змінено',
|
||||
'Permissions' : 'Доступ',
|
||||
'Link to' : 'Вказує',
|
||||
'Dimensions' : 'Дозвіл',
|
||||
'Confirmation required' : 'Необхідно підтвердити',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Ви впевнені, що хочете видалити файл? <br /> Дія є незворотнім.',
|
||||
/* permissions */
|
||||
'read' : 'читання',
|
||||
'write' : 'запис',
|
||||
'remove' : 'видалення',
|
||||
/* dates */
|
||||
'Jan' : 'Січень',
|
||||
'Feb' : 'Лютий',
|
||||
'Mar' : 'Березня',
|
||||
'Apr' : 'Квітня',
|
||||
'May' : 'Травень',
|
||||
'Jun' : 'Червня',
|
||||
'Jul' : 'Липень',
|
||||
'Aug' : 'Серпня',
|
||||
'Sep' : 'Вересень',
|
||||
'Oct' : 'Жовтня',
|
||||
'Nov' : 'Листопад',
|
||||
'Dec' : 'Грудень',
|
||||
'Today' : 'Сьогодні',
|
||||
'Yesterday' : 'Вчора',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Невідомий',
|
||||
'Folder' : 'Папка',
|
||||
'Alias' : 'Посилання',
|
||||
'Broken alias' : 'Бита посилання',
|
||||
'Plain text' : 'Звичайний текст',
|
||||
'Postscript document' : 'Документ postscript',
|
||||
'Application' : 'Додаток',
|
||||
'Microsoft Office document' : 'Документ Microsoft Office',
|
||||
'Microsoft Word document' : 'Документ Microsoft Word',
|
||||
'Microsoft Excel document' : 'Документ Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Презентація Microsoft Powerpoint',
|
||||
'Open Office document' : 'Документ Open Office',
|
||||
'Flash application' : 'Додаток Flash',
|
||||
'XML document' : 'Документ XML',
|
||||
'Bittorrent file' : 'Bittorrent файл',
|
||||
'7z archive' : 'Архів 7z',
|
||||
'TAR archive' : 'Архів TAR',
|
||||
'GZIP archive' : 'Архів GZIP',
|
||||
'BZIP archive' : 'Архів BZIP',
|
||||
'ZIP archive' : 'Архів ZIP',
|
||||
'RAR archive' : 'Архів RAR',
|
||||
'Javascript application' : 'Додаток Javascript',
|
||||
'PHP source' : 'Исходник PHP',
|
||||
'HTML document' : 'Документ HTML',
|
||||
'Javascript source' : 'Исходник Javascript',
|
||||
'CSS style sheet' : 'Таблиця стилів CSS',
|
||||
'C source' : 'Исходник C',
|
||||
'C++ source' : 'Исходник C++',
|
||||
'Unix shell script' : 'Скрипт Unix shell',
|
||||
'Python source' : 'Исходник Python',
|
||||
'Java source' : 'Исходник Java',
|
||||
'Ruby source' : 'Исходник Ruby',
|
||||
'Perl script' : 'Скрипт Perl',
|
||||
'BMP image' : 'Зображення BMP',
|
||||
'JPEG image' : 'Зображення JPEG',
|
||||
'GIF Image' : 'Зображення GIF',
|
||||
'PNG Image' : 'Зображення PNG',
|
||||
'TIFF image' : 'Зображення TIFF',
|
||||
'TGA image' : 'Зображення TGA',
|
||||
'Adobe Photoshop image' : 'Зображення Adobe Photoshop',
|
||||
'MPEG audio' : 'Аудіо MPEG',
|
||||
'MIDI audio' : 'Аудіо MIDI',
|
||||
'Ogg Vorbis audio' : 'Аудіо Ogg Vorbis',
|
||||
'MP4 audio' : 'Аудіо MP4',
|
||||
'WAV audio' : 'Аудіо WAV',
|
||||
'DV video' : 'Відео DV',
|
||||
'MP4 video' : 'Відео MP4',
|
||||
'MPEG video' : 'Відео MPEG',
|
||||
'AVI video' : 'Відео AVI',
|
||||
'Quicktime video' : 'Відео Quicktime',
|
||||
'WM video' : 'Відео WM',
|
||||
'Flash video' : 'Відео Flash',
|
||||
'Matroska video' : 'Відео Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Виділити всі файли',
|
||||
'Copy/Cut/Paste files' : 'Копіювати/Вирізати/Вставити файли',
|
||||
'Open selected file/folder' : 'Відкрити папку/файл',
|
||||
'Open/close QuickLook window' : 'Відкрити/закрити вікно швидкого перегляду',
|
||||
'Remove selected files' : 'Видалити виділені файли',
|
||||
'Selected files or current directory info' : 'Інформація про виділених файлів або поточній папці',
|
||||
'Create new directory' : 'Нова папка',
|
||||
'Open upload files form' : 'Відкрити вікно завантаження файлів',
|
||||
'Select previous file' : 'Вибрати попередній файл',
|
||||
'Select next file' : 'Вибрати наступний файл',
|
||||
'Return into previous folder' : 'Повернутися в попередню папку',
|
||||
'Increase/decrease files selection' : 'Збільшити/зменшити виділення файлів',
|
||||
'Authors' : 'Автори',
|
||||
'Sponsors' : 'Спонсори',
|
||||
'elFinder: Web file manager' : 'elFinder: Файловий менеджер для Web',
|
||||
'Version' : 'Версія',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Студия 42',
|
||||
'Donate to support project development' : 'Підтримайте розробку',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Програмування Javascripts/php: Дмитрий (dio) Левашов, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Програмування Python, техподдержка: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Дизайн: Валентин Разумных',
|
||||
'Spanish localization' : 'Испанская локализация',
|
||||
'Icons' : 'Иконки',
|
||||
'License: BSD License' : 'Ліцензія: BSD License',
|
||||
'elFinder documentation' : 'Документація elFinder',
|
||||
'Simple and usefull Content Management System' : 'Проста і зручна Система Управління Сайтами',
|
||||
'Support project development and we will place here info about you' : 'Підтримайте розробку продукту і ми розмістимо тут інформацію про вас.',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Якщо ви хочете інтегрувати elFinder в свій продукт, звертайтеся до нас',
|
||||
'helpText' : 'elFinder працює аналогічно до файлового менеджера у вашому комп\'ютері. <br /> Маніпулювати файлами можна за допомогою кнопок на верхній панелі, контекстного меню або сполучення клавіш. Щоб перемістити файли/папки, просто перенесіть їх на іконку потрібної папки. Якщо буде затиснута клавіша Shift файли будуть скопійовані. <br/> <br/> ElFinder підтримує наступні сполучення клавіш:'
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
192
simpla/design/js/elfinder/js/i18n/elfinder.vi.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/**
|
||||
* Vietnamese translation
|
||||
* @author baby cntt <quan0909@gmail.com>
|
||||
* @version 2011-02-02
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.vi = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Thư mục gốc không tồn tại',
|
||||
'Unable to connect to backend' : 'Không thể kết nối với backend',
|
||||
'Access denied' : 'Truy cập bị từ chối',
|
||||
'Invalid backend configuration' : 'Thiết lập backend sai',
|
||||
'Unknown command' : 'Không hiểu yêu cầu',
|
||||
'Command not allowed' : 'Yêu cầu không được phép',
|
||||
'Invalid parameters' : 'Sai tham số',
|
||||
'File not found' : 'Không tìm thấy tập tin',
|
||||
'Invalid name' : 'Sai tên',
|
||||
'File or folder with the same name already exists' : 'Tập tin hay thư mục có tên giống như vậy đã có',
|
||||
'Unable to rename file' : 'Không thể đổi tên tập tin',
|
||||
'Unable to create folder' : 'Không thể tạo thư mục',
|
||||
'Unable to create file' : 'Không thể tạo tập tin',
|
||||
'No file to upload' : 'Không có tập tin để tải lên',
|
||||
'Select at least one file to upload' : 'Chọn ít nhất một tập tin để tải lên',
|
||||
'File exceeds the maximum allowed filesize' : 'Kích thước tập tin vượt quá mức cho phép',
|
||||
'Data exceeds the maximum allowed size' : 'Kích thước dữ liệu vượt quá mức cho phép',
|
||||
'Not allowed file type' : 'Không chấp nhận định dạng tập tin',
|
||||
'Unable to upload file' : 'Không thể tải tập tin lên',
|
||||
'Unable to upload files' : 'Không thể tải tập tin lên',
|
||||
'Unable to remove file' : 'Không thể xóa tập tin',
|
||||
'Unable to save uploaded file' : 'Không thể lưu tập tin đã tải lên',
|
||||
'Some files was not uploaded' : 'Một số tập tin không được tải lên',
|
||||
'Unable to copy into itself' : 'Không thể sao chép vào chính nó',
|
||||
'Unable to move files' : 'Không thể di chuyển tập tin',
|
||||
'Unable to copy files' : 'Không thể sao chép tập tin',
|
||||
'Unable to create file copy' : 'Không thể tạo tập tin sao chép',
|
||||
'File is not an image' : 'Tập tin không phải là hình ảnh',
|
||||
'Unable to resize image' : 'Không thể thay đổi kích thước hình',
|
||||
'Unable to write to file' : 'Không thể ghi tập tin',
|
||||
'Unable to create archive' : 'Không thể tạo tập tin nén',
|
||||
'Unable to extract files from archive' : 'Không thể trích xuất tập tin từ tập tin nén',
|
||||
'Unable to open broken link' : 'Không thể mở liên kết gãy',
|
||||
'File URL disabled by connector config' : 'URL của tập tin đã bị khóa bởi tùy chỉnh của người kết nối',
|
||||
/* statusbar */
|
||||
'items' : 'đối tượng',
|
||||
'selected items' : 'chọn đối tượng',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Trở về',
|
||||
'Reload' : 'Tải lại',
|
||||
'Open' : 'Mở',
|
||||
'Preview with Quick Look' : 'Xem trước với Quick Look',
|
||||
'Select file' : 'Chọn tập tin',
|
||||
'New folder' : 'Tạo thư mục mới',
|
||||
'New text file' : 'Tạo tập tin văn bản',
|
||||
'Upload files' : 'Tải tập tin lên',
|
||||
'Copy' : 'Sao chép',
|
||||
'Cut' : 'Di chuyển',
|
||||
'Paste' : 'Dán',
|
||||
'Duplicate' : 'Nhân đôi',
|
||||
'Remove' : 'Xóa',
|
||||
'Rename' : 'Đổi tên',
|
||||
'Edit text file' : 'Sửa tập tin văn bản',
|
||||
'View as icons' : 'Xem kiểu biểu tượng',
|
||||
'View as list' : 'Xem kiểu danh sách',
|
||||
'Resize image' : 'Thay đổi kích thước ảnh',
|
||||
'Create archive' : 'Tạo tập tin nén',
|
||||
'Uncompress archive' : 'Giải nén tập tin nén',
|
||||
'Get info' : 'Lấy thông tin',
|
||||
'Help' : 'Trợ giúp',
|
||||
'Dock/undock filemanger window' : 'Cố định/không cố định cửa sổ quản lí tập tin',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Cho phép kích thước tối đa của tập tin',
|
||||
'Add field' : 'Thêm',
|
||||
'File info' : 'Thông tin tập tin',
|
||||
'Folder info' : 'Thông tin thư mục',
|
||||
'Name' : 'Tên',
|
||||
'Kind' : 'Phân loại',
|
||||
'Size' : 'Kích thước',
|
||||
'Modified' : 'Thay đổi ngày',
|
||||
'Permissions' : 'Quyền truy cập',
|
||||
'Link to' : 'Liên kết tới',
|
||||
'Dimensions' : 'Kích thước',
|
||||
'Confirmation required' : 'Yêu cầu xác nhận',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Bạn có chắc là muốn xóa tập tin? <br /> Không thể phục hồi!',
|
||||
/* permissions */
|
||||
'read' : 'đọc',
|
||||
'write' : 'ghi',
|
||||
'remove' : 'xóa',
|
||||
/* dates */
|
||||
'Jan' : 'Tháng một',
|
||||
'Feb' : 'Tháng hai',
|
||||
'Mar' : 'Tháng ba',
|
||||
'Apr' : 'Tháng tư',
|
||||
'May' : 'Tháng năm',
|
||||
'Jun' : 'Tháng sáu',
|
||||
'Jul' : 'Tháng bảy',
|
||||
'Aug' : 'Tháng tám',
|
||||
'Sep' : 'Tháng chín',
|
||||
'Oct' : 'Tháng mười',
|
||||
'Nov' : 'Tháng mười một',
|
||||
'Dec' : 'Tháng mười hai',
|
||||
'Today' : 'Hôm nay',
|
||||
'Yesterday' : 'Hôm qua',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Không biết',
|
||||
'Folder' : 'Thư mục',
|
||||
'Alias' : 'Alias',
|
||||
'Broken alias' : 'Alias hư',
|
||||
'Plain text' : 'Văn bản thuần',
|
||||
'Postscript document' : 'Tài liệu postscript',
|
||||
'Application' : 'Ứng dụng',
|
||||
'Microsoft Office document' : 'Tài liệu Microsoft Office',
|
||||
'Microsoft Word document' : 'Tài liệu Microsoft Word',
|
||||
'Microsoft Excel document' : 'Tài liệu Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Tài liệu Microsoft Powerpoint',
|
||||
'Open Office document' : 'Tài liệu Open Office',
|
||||
'Flash application' : 'Ứng dụng Flash',
|
||||
'XML document' : 'Tài liệu XML',
|
||||
'Bittorrent file' : 'Tập tin bittorrent',
|
||||
'7z archive' : 'Tập tin nén 7z',
|
||||
'TAR archive' : 'Tập tin nén TAR',
|
||||
'GZIP archive' : 'Tập tin nén GZIP',
|
||||
'BZIP archive' : 'Tập tin nén BZIP',
|
||||
'ZIP archive' : 'Tập tin nén ZIP',
|
||||
'RAR archive' : 'Tập tin nén RAR',
|
||||
'Javascript application' : 'Ứng dụng Javascript',
|
||||
'PHP source' : 'Mã nguồn PHP',
|
||||
'HTML document' : 'Tài liệu HTML',
|
||||
'Javascript source' : 'Mã nguồn Javascript',
|
||||
'CSS style sheet' : 'CSS style sheet',
|
||||
'C source' : 'Mã nguồn C',
|
||||
'C++ source' : 'Mã nguồn C++',
|
||||
'Unix shell script' : 'Unix shell script',
|
||||
'Python source' : 'Mã nguồn Python',
|
||||
'Java source' : 'Mã nguồn Java',
|
||||
'Ruby source' : 'Mã nguồn Ruby',
|
||||
'Perl script' : 'Mã nguồn Perl',
|
||||
'BMP image' : 'Tập tin ảnh BMP',
|
||||
'JPEG image' : 'Tập tin ảnh JPEG',
|
||||
'GIF Image' : 'Tập tin ảnh GIF',
|
||||
'PNG Image' : 'Tập tin ảnh PNG',
|
||||
'TIFF image' : 'Tập tin ảnh TIFF',
|
||||
'TGA image' : 'Tập tin ảnh TGA',
|
||||
'Adobe Photoshop image' : 'Tập tin ảnh Adobe Photoshop',
|
||||
'MPEG audio' : 'Tập tin âm thanh MPEG',
|
||||
'MIDI audio' : 'Tập tin âm thanh MIDI',
|
||||
'Ogg Vorbis audio' : 'Tập tin âm thanh Ogg Vorbis',
|
||||
'MP4 audio' : 'Tập tin âm thanh MP4',
|
||||
'WAV audio' : 'Tập tin âm thanh WAV',
|
||||
'DV video' : 'Tập tin video DV',
|
||||
'MP4 video' : 'Tập tin video MP4',
|
||||
'MPEG video' : 'Tập tin video MPEG',
|
||||
'AVI video' : 'Tập tin video AVI',
|
||||
'Quicktime video' : 'Tập tin video Quicktime',
|
||||
'WM video' : 'Tập tin video WM',
|
||||
'Flash video' : 'Tập tin video Flash',
|
||||
'Matroska video' : 'Tập tin video Matroska',
|
||||
// 'Shortcuts' : 'Клавиши',
|
||||
'Select all files' : 'Chọn tất cả tập tin',
|
||||
'Copy/Cut/Paste files' : 'Sao chép/Di chuyển/Dán tập tin',
|
||||
'Open selected file/folder' : 'Mở chọn tập tin/thư mục',
|
||||
'Open/close QuickLook window' : 'Mở/đóng cửa sổ QuickLook',
|
||||
'Remove selected files' : 'Xóa tập tin đã chọn',
|
||||
'Selected files or current directory info' : 'Thông tin của tập tin hay thư mục đã chọn',
|
||||
'Create new directory' : 'Tạo thư mục mới',
|
||||
'Open upload files form' : 'Tải tập tin lên từ',
|
||||
'Select previous file' : 'Chọn tập tin trước',
|
||||
'Select next file' : 'Chọn tập tin kế tiếp',
|
||||
'Return into previous folder' : 'Trở lại thư mục trước',
|
||||
'Increase/decrease files selection' : 'Tăng/giảm số lượng tập tin được chọn',
|
||||
'Authors' : 'Tác giả',
|
||||
'Sponsors' : 'Tài trợ',
|
||||
'elFinder: Web file manager' : 'elFinder: quản lí tập tin trên web',
|
||||
'Version' : 'Phiên bản',
|
||||
'Copyright: Studio 42 LTD' : 'Bản quyền: Студия 42',
|
||||
'Donate to support project development' : 'Đóng góp để hỗ trợ dự án',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Lập trình Javascripts/PHP: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Lập trình Python, hỗ trợ kĩ thuật: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Thiết kế: Valentin Razumnih',
|
||||
'Spanish localization' : 'Chuyển ngữ tiếng Tây Ban Nha',
|
||||
'Icons' : 'Biểu tượng',
|
||||
'License: BSD License' : 'Bản quyền: BSD License',
|
||||
'elFinder documentation' : 'Tài liệu elFinder',
|
||||
'Simple and usefull Content Management System' : 'Hệ thống quản lí đơn giản và hữu dụng',
|
||||
'Support project development and we will place here info about you' : 'Hỗ trợ dự án phát triển và chúng tôi sẽ đưa thông tin về bạn tại đây',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Liên hệ chúng tôi nếu bạn cần tích hợp elFinder vào sản phẩm của bạn',
|
||||
'elFinder support following shortcuts' : 'elFinder hỗ trợ phím tắt sau',
|
||||
'helpText' : 'elFinder tương thích với trình quản lí tập tin trên máy tính của bạn. <br />Để thực hiện thao tác với tập tin/thư mục, bạn sử dụng các biểu tượng trên bảng điều khiển. Nếu bạn không hiểu ý nghĩa của biểu tượng, giữ chuột lướt qua trên biểu tượng để xem gợi ý. <br />Các thao tác với tập tin/thư mục có thể thực hiện qua menu ngữ cảnh (click chuột phải). <br />Để sao chép/xóa một nhóm tập tin/thư mục, chọn chúng bằng cách sử dụng tổ hợp phím Shift hoặc Alt kết hợp click chuột trái.',
|
||||
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
280
simpla/design/js/elfinder/js/i18n/elfinder.zh_CN.js
Normal file
@@ -0,0 +1,280 @@
|
||||
/**
|
||||
* Simplified Chinese translation
|
||||
* @author 翻译者 <deerchao@gmail.com>
|
||||
* @version 2011-09-08
|
||||
*/
|
||||
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
|
||||
elFinder.prototype.i18.zh_CN = {
|
||||
translator : '翻译者 <deerchao@gmail.com>',
|
||||
language : '简体中文',
|
||||
direction : 'ltr',
|
||||
messages : {
|
||||
|
||||
/********************************** errors **********************************/
|
||||
'error' : '错误',
|
||||
'errUnknown' : '未知的错误.',
|
||||
'errUnknownCmd' : '未知的命令.',
|
||||
'errJqui' : '无效的 jQuery UI 配置. 必须包含 Selectable, draggable 以及 droppable 组件.',
|
||||
'errNode' : 'elFinder 需要能创建 DOM 元素.',
|
||||
'errURL' : '无效的 elFinder 配置! URL 选项未配置.',
|
||||
'errAccess' : '访问被拒绝.',
|
||||
'errConnect' : '不能连接到后端.',
|
||||
'errAbort' : '连接中止.',
|
||||
'errTimeout' : '连接超时.',
|
||||
'errNotFound' : '未找到后端.',
|
||||
'errResponse' : '无效的后端响应.',
|
||||
'errConf' : '无效的后端配置.',
|
||||
'errJSON' : 'PHP JSON 模块未安装.',
|
||||
'errNoVolumes' : '无可读的卷.',
|
||||
'errCmdParams' : '无效的参数, 命令: "$1".',
|
||||
'errDataNotJSON' : '响应不符合 JSON 格式.',
|
||||
'errDataEmpty' : '响应为空.',
|
||||
'errCmdReq' : '后端请求需要命令名称.',
|
||||
'errOpen' : '无法打开 "$1".',
|
||||
'errNotFolder' : '对象不是文件夹.',
|
||||
'errNotFile' : '对象不是文件.',
|
||||
'errRead' : '无法读取 "$1".',
|
||||
'errWrite' : '无法写入 "$1".',
|
||||
'errPerm' : '无权限.',
|
||||
'errLocked' : '"$1" 被锁定,不能重命名, 移动或删除.',
|
||||
'errExists' : '文件 "$1" 已经存在了.',
|
||||
'errInvName' : '无效的文件名.',
|
||||
'errFolderNotFound' : '未找到文件夹.',
|
||||
'errFileNotFound' : '未找到文件.',
|
||||
'errTrgFolderNotFound' : '未找到目标文件夹 "$1".',
|
||||
'errPopup' : '浏览器拦截了弹出窗口. 请在选项中允许弹出窗口.',
|
||||
'errMkdir' : '不能创建文件夹 "$1".',
|
||||
'errMkfile' : '不能创建文件 "$1".',
|
||||
'errRename' : '不能重命名 "$1".',
|
||||
'errCopyFrom' : '不允许从卷 "$1" 复制.',
|
||||
'errCopyTo' : '不允许向卷 "$1" 复制.',
|
||||
'errUploadCommon' : '上传出错.',
|
||||
'errUpload' : '无法上传 "$1".',
|
||||
'errUploadNoFiles' : '未找到要上传的文件.',
|
||||
'errMaxSize' : '数据超过了允许的最大大小.',
|
||||
'errFileMaxSize' : '文件超过了允许的最大大小.',
|
||||
'errUploadMime' : '不允许的文件类型.',
|
||||
'errUploadTransfer' : '"$1" 传输错误.',
|
||||
'errSave' : '无法保存 "$1".',
|
||||
'errCopy' : '无法复制 "$1".',
|
||||
'errMove' : '无法移动 "$1".',
|
||||
'errCopyInItself' : '不能移动 "$1" 到原有位置.',
|
||||
'errRm' : '无法删除 "$1".',
|
||||
'errExtract' : '无法从 "$1" 提取文件.',
|
||||
'errArchive' : '无法创建压缩包.',
|
||||
'errArcType' : '不支持的压缩格式.',
|
||||
'errNoArchive' : '文件不是压缩包, 或者不支持该压缩格式.',
|
||||
'errCmdNoSupport' : '后端不支持该命令.',
|
||||
|
||||
/******************************* commands names ********************************/
|
||||
'cmdarchive' : '创建压缩包',
|
||||
'cmdback' : '后退',
|
||||
'cmdcopy' : '复制',
|
||||
'cmdcut' : '剪切',
|
||||
'cmddownload' : '下载',
|
||||
'cmdduplicate' : '创建复本',
|
||||
'cmdedit' : '编辑文件',
|
||||
'cmdextract' : '从压缩包提取文件',
|
||||
'cmdforward' : '前进',
|
||||
'cmdgetfile' : '选择文件',
|
||||
'cmdhelp' : '关于本软件',
|
||||
'cmdhome' : '首页',
|
||||
'cmdinfo' : '查看信息',
|
||||
'cmdmkdir' : '新建文件夹',
|
||||
'cmdmkfile' : '新建文本文件',
|
||||
'cmdopen' : '打开',
|
||||
'cmdpaste' : '粘贴',
|
||||
'cmdquicklook' : '预览',
|
||||
'cmdreload' : '刷新',
|
||||
'cmdrename' : '重命名',
|
||||
'cmdrm' : '删除',
|
||||
'cmdsearch' : '查找文件',
|
||||
'cmdup' : '转到上一级文件夹',
|
||||
'cmdupload' : '上传文件',
|
||||
'cmdview' : '查看',
|
||||
|
||||
/*********************************** buttons ***********************************/
|
||||
'btnClose' : '关闭',
|
||||
'btnSave' : '保存',
|
||||
'btnRm' : '删除',
|
||||
'btnCancel' : '取消',
|
||||
'btnNo' : '否',
|
||||
'btnYes' : '是',
|
||||
|
||||
/******************************** notifications ********************************/
|
||||
'ntfopen' : '打开文件夹',
|
||||
'ntffile' : '打开文件',
|
||||
'ntfreload' : '刷新文件夹内容',
|
||||
'ntfmkdir' : '创建文件夹',
|
||||
'ntfmkfile' : '创建文件',
|
||||
'ntfrm' : '删除文件',
|
||||
'ntfcopy' : '复制文件',
|
||||
'ntfmove' : '移动文件',
|
||||
'ntfprepare' : '准备复制文件',
|
||||
'ntfrename' : '重命名文件',
|
||||
'ntfupload' : '上传文件',
|
||||
'ntfdownload' : '下载文件',
|
||||
'ntfsave' : '保存文件',
|
||||
'ntfarchive' : '创建压缩包',
|
||||
'ntfextract' : '从压缩包提取文件',
|
||||
'ntfsearch' : '搜索文件',
|
||||
'ntfsmth' : '正在忙 >_<',
|
||||
|
||||
/************************************ dates **********************************/
|
||||
'dateUnknown' : '未知',
|
||||
'Today' : '今天',
|
||||
'Yesterday' : '昨天',
|
||||
'Jan' : '一月',
|
||||
'Feb' : '二月',
|
||||
'Mar' : '三月',
|
||||
'Apr' : '四月',
|
||||
'May' : '五月',
|
||||
'Jun' : '六月',
|
||||
'Jul' : '七月',
|
||||
'Aug' : '八月',
|
||||
'Sep' : '九月',
|
||||
'Oct' : '十月',
|
||||
'Nov' : '十一月',
|
||||
'Dec' : '十二月',
|
||||
|
||||
/********************************** messages **********************************/
|
||||
'confirmReq' : '请确认',
|
||||
'confirmRm' : '确定要删除文件吗?<br/>该操作不可撤销!',
|
||||
'confirmRepl' : '用新的文件替换原有文件?',
|
||||
'apllyAll' : '全部应用',
|
||||
'name' : '名称',
|
||||
'size' : '大小',
|
||||
'perms' : '权限',
|
||||
'modify' : '修改于',
|
||||
'kind' : '类别',
|
||||
'read' : '读取',
|
||||
'write' : '写入',
|
||||
'noaccess' : '无权限',
|
||||
'and' : '和',
|
||||
'unknown' : '未知',
|
||||
'selectall' : '选择所有文件',
|
||||
'selectfiles' : '选择文件',
|
||||
'selectffile' : '选择第一个文件',
|
||||
'selectlfile' : '选择最后一个文件',
|
||||
'viewlist' : '列表视图',
|
||||
'viewicons' : '图标视图',
|
||||
'places' : '位置',
|
||||
'calc' : '计算',
|
||||
'path' : '路径',
|
||||
'aliasfor' : '别名',
|
||||
'locked' : '锁定',
|
||||
'dim' : '尺寸',
|
||||
'files' : '文件',
|
||||
'folders' : '文件夹',
|
||||
'items' : '项目',
|
||||
'yes' : '是',
|
||||
'no' : '否',
|
||||
'link' : '链接',
|
||||
'searcresult' : '搜索结果',
|
||||
'selected' : '选中的项目',
|
||||
'about' : '关于',
|
||||
'shortcuts' : '快捷键',
|
||||
'help' : '帮助',
|
||||
'webfm' : '网络文件管理器',
|
||||
'ver' : '版本',
|
||||
'protocol' : '协议版本',
|
||||
'homepage' : '项目主页',
|
||||
'docs' : '文档',
|
||||
'github' : 'Fork us on Github',
|
||||
'twitter' : 'Follow us on twitter',
|
||||
'facebook' : 'Join us on facebook',
|
||||
'team' : '团队',
|
||||
'chiefdev' : '首席开发',
|
||||
'developer' : '开发',
|
||||
'contributor' : '贡献',
|
||||
'maintainer' : '维护',
|
||||
'translator' : '翻译',
|
||||
'icons' : '图标',
|
||||
'dontforget' : '别忘了带上你的毛巾',
|
||||
'shortcutsof' : '快捷键已禁用',
|
||||
'dropFiles' : '把文件拖到这里',
|
||||
'or' : '或者',
|
||||
'selectForUpload' : '选择要上传的文件',
|
||||
'moveFiles' : '移动文件',
|
||||
'copyFiles' : '复制文件',
|
||||
|
||||
/********************************** mimetypes **********************************/
|
||||
'kindUnknown' : '未知',
|
||||
'kindFolder' : '文件夹',
|
||||
'kindAlias' : '别名',
|
||||
'kindAliasBroken' : '错误的别名',
|
||||
// applications
|
||||
'kindApp' : '程序',
|
||||
'kindPostscript' : 'Postscript 文档',
|
||||
'kindMsOffice' : 'Microsoft Office 文档',
|
||||
'kindMsWord' : 'Microsoft Word 文档',
|
||||
'kindMsExcel' : 'Microsoft Excel 文档',
|
||||
'kindMsPP' : 'Microsoft Powerpoint 演示',
|
||||
'kindOO' : 'Open Office 文档',
|
||||
'kindAppFlash' : 'Flash 程序',
|
||||
'kindPDF' : 'Portable Document Format (PDF)',
|
||||
'kindTorrent' : 'Bittorrent 文件',
|
||||
'kind7z' : '7z 压缩包',
|
||||
'kindTAR' : 'TAR 压缩包',
|
||||
'kindGZIP' : 'GZIP 压缩包',
|
||||
'kindBZIP' : 'BZIP 压缩包',
|
||||
'kindZIP' : 'ZIP 压缩包',
|
||||
'kindRAR' : 'RAR 压缩包',
|
||||
'kindJAR' : 'Java JAR 文件',
|
||||
'kindTTF' : 'True Type 字体',
|
||||
'kindOTF' : 'Open Type 字体',
|
||||
'kindRPM' : 'RPM 包',
|
||||
// texts
|
||||
'kindText' : '文本文件',
|
||||
'kindTextPlain' : '纯文本',
|
||||
'kindPHP' : 'PHP 源代码',
|
||||
'kindCSS' : '层叠样式表(CSS)',
|
||||
'kindHTML' : 'HTML 文档',
|
||||
'kindJS' : 'Javascript 源代码',
|
||||
'kindRTF' : '富文本格式(RTF)',
|
||||
'kindC' : 'C 源代码',
|
||||
'kindCHeader' : 'C 头文件',
|
||||
'kindCPP' : 'C++ 源代码',
|
||||
'kindCPPHeader' : 'C++ 头文件',
|
||||
'kindShell' : 'Unix 外壳脚本',
|
||||
'kindPython' : 'Python 源代码',
|
||||
'kindJava' : 'Java 源代码',
|
||||
'kindRuby' : 'Ruby 源代码',
|
||||
'kindPerl' : 'Perl 源代码',
|
||||
'kindSQL' : 'SQL 脚本',
|
||||
'kindXML' : 'XML 文档',
|
||||
'kindAWK' : 'AWK 源代码',
|
||||
'kindCSV' : '逗号分隔值文件(CSV)',
|
||||
'kindDOCBOOK' : 'Docbook XML 文档',
|
||||
// images
|
||||
'kindImage' : '图片',
|
||||
'kindBMP' : 'BMP 图片',
|
||||
'kindJPEG' : 'JPEG 图片',
|
||||
'kindGIF' : 'GIF 图片',
|
||||
'kindPNG' : 'PNG 图片',
|
||||
'kindTIFF' : 'TIFF 图片',
|
||||
'kindTGA' : 'TGA 图片',
|
||||
'kindPSD' : 'Adobe Photoshop 图片',
|
||||
'kindXBITMAP' : 'X bitmap 图片',
|
||||
'kindPXM' : 'Pixelmator 图片',
|
||||
// media
|
||||
'kindAudio' : '音频',
|
||||
'kindAudioMPEG' : 'MPEG 音频',
|
||||
'kindAudioMPEG4' : 'MPEG-4 音频',
|
||||
'kindAudioMIDI' : 'MIDI 音频',
|
||||
'kindAudioOGG' : 'Ogg Vorbis 音频',
|
||||
'kindAudioWAV' : 'WAV 音频',
|
||||
'AudioPlaylist' : 'MP3 播放列表',
|
||||
'kindVideo' : '视频',
|
||||
'kindVideoDV' : 'DV 视频',
|
||||
'kindVideoMPEG' : 'MPEG 视频',
|
||||
'kindVideoMPEG4' : 'MPEG-4 视频',
|
||||
'kindVideoAVI' : 'AVI 视频',
|
||||
'kindVideoMOV' : 'Quick Time 视频',
|
||||
'kindVideoWM' : 'Windows Media 视频',
|
||||
'kindVideoFlash' : 'Flash 视频',
|
||||
'kindVideoMKV' : 'Matroska 视频',
|
||||
'kindVideoOGG' : 'Ogg 视频'
|
||||
}
|
||||
};
|
||||
}
|
||||
18
simpla/design/js/elfinder/js/jquery-1.6.1.min.js
vendored
Normal file
784
simpla/design/js/elfinder/js/jquery-ui-1.8.13.custom.min.js
vendored
Normal file
@@ -0,0 +1,784 @@
|
||||
/*!
|
||||
* jQuery UI 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI
|
||||
*/
|
||||
(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if("area"===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:"a"==d?a.href||b:b)&&l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.13",
|
||||
keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();
|
||||
b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,
|
||||
"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",
|
||||
function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(n)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,
|
||||
outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,"tabindex")))},tabbable:function(a){var b=c.attr(a,"tabindex"),d=isNaN(b);
|
||||
return(d||b>=0)&&k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=
|
||||
0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
|
||||
;/*!
|
||||
* jQuery UI Widget 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Widget
|
||||
*/
|
||||
(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
|
||||
a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
|
||||
e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
|
||||
this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
|
||||
widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
|
||||
enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
|
||||
;/*!
|
||||
* jQuery UI Mouse 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Mouse
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(b){var d=false;b(document).mousedown(function(){d=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+".preventClickEvent")){b.removeData(c.target,a.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+
|
||||
this.widgetName)},_mouseDown:function(a){if(!d){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,f=a.which==1,g=typeof this.options.cancel=="string"?b(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!f||g||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
|
||||
this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(e){return c._mouseMove(e)};this._mouseUpDelegate=function(e){return c._mouseUp(e)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return d=true}},_mouseMove:function(a){if(b.browser.msie&&
|
||||
!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
|
||||
false;a.target==this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Position 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Position
|
||||
*/
|
||||
(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY,
|
||||
left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+=
|
||||
k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-=
|
||||
m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left=
|
||||
d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+=
|
||||
a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b),
|
||||
g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Draggable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Draggables
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
|
||||
"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b=
|
||||
this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;d(b.iframeFix===true?"iframe":b.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")});return true},_mouseStart:function(a){var b=this.options;this.helper=
|
||||
this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});
|
||||
this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions();d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);
|
||||
this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=
|
||||
d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&&this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",
|
||||
a)!==false&&this._clear();return false},_mouseUp:function(a){this.options.iframeFix===true&&d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});return d.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==
|
||||
a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a=
|
||||
{left:+a[0],top:+a[1]||0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&
|
||||
d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=
|
||||
this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions=
|
||||
{width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+
|
||||
d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){a=d(a.containment);var b=a[0];if(b){a.offset();var c=d(b).css("overflow")!="hidden";this.containment=[(parseInt(d(b).css("borderLeftWidth"),
|
||||
10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0),(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0),(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-
|
||||
this.margins.top-this.margins.bottom];this.relative_container=a}}else if(a.containment.constructor==Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&
|
||||
d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],
|
||||
this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,h=a.pageY;if(this.originalPosition){var g;if(this.containment){if(this.relative_container){g=this.relative_container.offset();g=[this.containment[0]+g.left,this.containment[1]+g.top,this.containment[2]+g.left,this.containment[3]+g.top]}else g=this.containment;if(a.pageX-this.offset.click.left<g[0])e=g[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<g[1])h=g[1]+this.offset.click.top;
|
||||
if(a.pageX-this.offset.click.left>g[2])e=g[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>g[3])h=g[3]+this.offset.click.top}if(b.grid){h=this.originalPageY+Math.round((h-this.originalPageY)/b.grid[1])*b.grid[1];h=g?!(h-this.offset.click.top<g[1]||h-this.offset.click.top>g[3])?h:!(h-this.offset.click.top<g[1])?h-b.grid[1]:h+b.grid[1]:h;e=this.originalPageX+Math.round((e-this.originalPageX)/b.grid[0])*b.grid[0];e=g?!(e-this.offset.click.left<g[0]||e-this.offset.click.left>g[2])?e:!(e-this.offset.click.left<
|
||||
g[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");
|
||||
this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.13"});
|
||||
d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var h=d.data(this,"sortable");if(h&&!h.options.disabled){c.sortables.push({instance:h,shouldRevert:h.options.revert});h.refreshPositions();h._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=
|
||||
0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=
|
||||
c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,
|
||||
true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=
|
||||
0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=
|
||||
a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");
|
||||
if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=
|
||||
f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);
|
||||
else if(d(window).height()-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,
|
||||
a)}});d.ui.plugin.add("draggable","snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),f=c.options,e=f.snapTolerance,h=b.offset.left,g=h+c.helperProportions.width,n=b.offset.top,
|
||||
o=n+c.helperProportions.height,i=c.snapElements.length-1;i>=0;i--){var j=c.snapElements[i].left,l=j+c.snapElements[i].width,k=c.snapElements[i].top,m=k+c.snapElements[i].height;if(j-e<h&&h<l+e&&k-e<n&&n<m+e||j-e<h&&h<l+e&&k-e<o&&o<m+e||j-e<g&&g<l+e&&k-e<n&&n<m+e||j-e<g&&g<l+e&&k-e<o&&o<m+e){if(f.snapMode!="inner"){var p=Math.abs(k-o)<=e,q=Math.abs(m-n)<=e,r=Math.abs(j-g)<=e,s=Math.abs(l-h)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:k-c.helperProportions.height,left:0}).top-c.margins.top;
|
||||
if(q)b.position.top=c._convertPositionTo("relative",{top:m,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:j-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:l}).left-c.margins.left}var t=p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(k-n)<=e;q=Math.abs(m-o)<=e;r=Math.abs(j-h)<=e;s=Math.abs(l-g)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:k,left:0}).top-c.margins.top;if(q)b.position.top=
|
||||
c._convertPositionTo("relative",{top:m-c.helperProportions.height,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:j}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:l-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[i].snapping&&(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=p||q||r||s||t}else{c.snapElements[i].snapping&&
|
||||
c.options.snap.release&&c.options.snap.release.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});
|
||||
d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Droppable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Droppables
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.draggable.js
|
||||
*/
|
||||
(function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};d.ui.ddmanager.droppables[a.scope]=d.ui.ddmanager.droppables[a.scope]||[];d.ui.ddmanager.droppables[a.scope].push(this);
|
||||
a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var a=d.ui.ddmanager.droppables[this.options.scope],b=0;b<a.length;b++)a[b]==this&&a.splice(b,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(a,b){if(a=="accept")this.accept=d.isFunction(b)?b:function(c){return c.is(b)};d.Widget.prototype._setOption.apply(this,arguments)},_activate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&
|
||||
this.element.addClass(this.options.activeClass);b&&this._trigger("activate",a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);b&&this._trigger("deactivate",a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);
|
||||
this._trigger("over",a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var g=
|
||||
d.data(this,"droppable");if(g.options.greedy&&!g.options.disabled&&g.options.scope==c.options.scope&&g.accept.call(g.element[0],c.currentItem||c.element)&&d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",
|
||||
a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:"1.8.13"});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
|
||||
switch(c){case "fit":return i<=e&&g<=k&&j<=f&&h<=l;case "intersect":return i<e+a.helperProportions.width/2&&g-a.helperProportions.width/2<k&&j<f+a.helperProportions.height/2&&h-a.helperProportions.height/2<l;case "pointer":return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case "touch":return(f>=j&&f<=l||h>=j&&h<=l||f<j&&h>l)&&(e>=
|
||||
i&&e<=k||g>=i&&g<=k||e<i&&g>k);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f<c.length;f++)if(!(c[f].options.disabled||a&&!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h<g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css("display")!=
|
||||
"none";if(c[f].visible){e=="mousedown"&&c[f]._activate.call(c[f],b);c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight}}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||
|
||||
a.element)){this.isout=1;this.isover=0;this._deactivate.call(this,b)}}});return c},drag:function(a,b){a.options.refreshPositions&&d.ui.ddmanager.prepareOffsets(a,b);d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var c=d.ui.intersect(a,this,this.options.tolerance);if(c=!c&&this.isover==1?"isout":c&&this.isover==0?"isover":null){var e;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");if(g.length){e=
|
||||
d.data(g[0],"droppable");e.greedyChild=c=="isover"?1:0}}if(e&&c=="isover"){e.isover=0;e.isout=1;e._out.call(e,b)}this[c]=1;this[c=="isout"?"isover":"isout"]=0;this[c=="isover"?"_over":"_out"].call(this,b);if(e&&c=="isout"){e.isout=0;e.isover=1;e._over.call(e,b)}}}})}}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Resizable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Resizables
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(e){e.widget("ui.resizable",e.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var b=this,a=this.options;this.element.addClass("ui-resizable");e.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,
|
||||
_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css("position"))&&e.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"});this.element.wrap(e('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),
|
||||
top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=
|
||||
this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!e(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",
|
||||
nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var c=this.handles.split(",");this.handles={};for(var d=0;d<c.length;d++){var f=e.trim(c[d]),g=e('<div class="ui-resizable-handle '+("ui-resizable-"+f)+'"></div>');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor==
|
||||
String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,k);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection();
|
||||
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){if(!a.disabled){e(this).removeClass("ui-resizable-autohide");b._handles.show()}},function(){if(!a.disabled)if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();
|
||||
var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=
|
||||
false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});
|
||||
this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff=
|
||||
{width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio:this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];
|
||||
if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize",b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=
|
||||
false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height;f=f?0:c.sizeDiff.width;f={width:c.helper.width()-f,height:c.helper.height()-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,{top:g,left:d}));c.helper.height(c.size.height);
|
||||
c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left))this.position.left=b.left;if(l(b.top))this.position.top=b.top;if(l(b.height))this.size.height=b.height;if(l(b.width))this.size.width=b.width},_updateRatio:function(b){var a=this.position,c=this.size,
|
||||
d=this.axis;if(b.height)b.width=c.height*this.aspectRatio;else if(b.width)b.height=c.width/this.aspectRatio;if(d=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(d=="nw"){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidth<b.width,f=l(b.height)&&a.maxHeight&&a.maxHeight<b.height,g=l(b.width)&&a.minWidth&&a.minWidth>b.width,h=l(b.height)&&a.minHeight&&a.minHeight>b.height;if(g)b.width=
|
||||
a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height,k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minWidth;if(d&&k)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=
|
||||
this.helper||this.element,a=0;a<this._proportionallyResizeElements.length;a++){var c=this._proportionallyResizeElements[a];if(!this.borderDif){var d=[c.css("borderTopWidth"),c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],f=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||0;h=parseInt(f[h],10)||0;return g+h})}e.browser.msie&&(e(b).is(":hidden")||e(b).parents(":hidden").length)||
|
||||
c.css({height:b.height()-this.borderDif[0]-this.borderDif[2]||0,width:b.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var b=this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||e('<div style="overflow:hidden;"></div>');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-
|
||||
c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,
|
||||
arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,
|
||||
element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.13"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};
|
||||
if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),
|
||||
p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,
|
||||
c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),
|
||||
g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),
|
||||
10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize",b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,
|
||||
top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e(["Top","Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;
|
||||
g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options,d=a.containerOffset,f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))g=d;if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:
|
||||
0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?d.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));
|
||||
if(f&&g)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(d+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&
|
||||
!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&&/static/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost==
|
||||
"string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable");b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;
|
||||
var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,
|
||||
10)||0},l=function(b){return!isNaN(parseInt(b,10))}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Selectable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Selectables
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"),
|
||||
selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX,
|
||||
c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;f._trigger("unselecting",
|
||||
c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d=
|
||||
this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.right<b||a.top>i||a.bottom<g);else if(d.tolerance=="fit")k=a.left>b&&a.right<h&&a.top>g&&a.bottom<i;if(k){if(a.selected){a.$element.removeClass("ui-selected");a.selected=false}if(a.unselecting){a.$element.removeClass("ui-unselecting");
|
||||
a.unselecting=false}if(!a.selecting){a.$element.addClass("ui-selecting");a.selecting=true;f._trigger("selecting",c,{selecting:a.element})}}else{if(a.selecting)if(c.metaKey&&a.startselected){a.$element.removeClass("ui-selecting");a.selecting=false;a.$element.addClass("ui-selected");a.selected=true}else{a.$element.removeClass("ui-selecting");a.selecting=false;if(a.startselected){a.$element.addClass("ui-unselecting");a.unselecting=true}f._trigger("unselecting",c,{unselecting:a.element})}if(a.selected)if(!c.metaKey&&
|
||||
!a.startselected){a.$element.removeClass("ui-selected");a.selected=false;a.$element.addClass("ui-unselecting");a.unselecting=true;f._trigger("unselecting",c,{unselecting:a.element})}}}});return false}},_mouseStop:function(c){var f=this;this.dragged=false;e(".ui-unselecting",this.element[0]).each(function(){var d=e.data(this,"selectable-item");d.$element.removeClass("ui-unselecting");d.unselecting=false;d.startselected=false;f._trigger("unselected",c,{unselected:d.element})});e(".ui-selecting",this.element[0]).each(function(){var d=
|
||||
e.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected");d.selecting=false;d.selected=true;d.startselected=true;f._trigger("selected",c,{selected:d.element})});this._trigger("stop",c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:"1.8.13"})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Sortable 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Sortables
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(d){d.widget("ui.sortable",d.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){var a=this.options;this.containerCache={};this.element.addClass("ui-sortable");
|
||||
this.refresh();this.floating=this.items.length?a.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a===
|
||||
"disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&
|
||||
!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,
|
||||
left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};
|
||||
this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment();if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=
|
||||
document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);
|
||||
return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+b.scrollSpeed;else if(a.pageY-this.overflowOffset.top<
|
||||
b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-a.pageX<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+b.scrollSpeed;else if(a.pageX-this.overflowOffset.left<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-b.scrollSpeed}else{if(a.pageY-d(document).scrollTop()<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()-
|
||||
b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+b.scrollSpeed);if(a.pageX-d(document).scrollLeft()<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&&d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,
|
||||
a)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(b=this.items.length-1;b>=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],
|
||||
e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a,c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();
|
||||
c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):
|
||||
this.currentItem.show();for(var b=this.containers.length-1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,
|
||||
dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},
|
||||
toArray:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+j<k&&b+l>g&&b+l<h;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||
|
||||
this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>a[this.floating?"width":"height"]?j:g<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<h&&i<e+this.helperProportions.height/2&&f-this.helperProportions.height/2<k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&&a;a=this._getDragVerticalDirection();
|
||||
var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?c&&c=="right"||a=="down"?2:1:a&&(a=="down"?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&&e?e=="right"&&a||e=="left"&&!a:c&&(c=="down"&&b||c=="up"&&!b)},
|
||||
_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();
|
||||
if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h=d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),
|
||||
this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)});return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),
|
||||
this]],e=this._connectWith();if(e)for(var f=e.length-1;f>=0;f--)for(var g=d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h<g;h++){i=d(e[h]);i.data("sortable-item",a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&&
|
||||
this.helper)this.offset.parent=this._getParentOffset();for(var b=this.items.length-1;b>=0;b--){var c=this.items[b];if(!(c.instance!=this.currentContainer&&this.currentContainer&&c.item[0]!=this.currentItem[0])){var e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=
|
||||
this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=
|
||||
d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||
|
||||
0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",
|
||||
a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-
|
||||
f)<b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer=this.containers[c];e?this._rearrange(a,e,null,true):this._rearrange(a,null,this.containers[c].element,true);this._trigger("change",a,this._uiHash());this.containers[c]._trigger("change",a,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}}},_createHelper:function(a){var b=
|
||||
this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a,this.currentItem])):b.helper=="clone"?this.currentItem.clone():this.currentItem;a.parents("body").length||d(b.appendTo!="parent"?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);if(a[0]==this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")};if(a[0].style.width==
|
||||
""||b.forceHelperSize)a.width(this.currentItem.width());if(a[0].style.height==""||b.forceHelperSize)a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=
|
||||
this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a=
|
||||
{top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),
|
||||
10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,d(a.containment=="document"?
|
||||
document:window).width()-this.helperProportions.width-this.margins.left,(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=d(a.containment)[0];a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"),
|
||||
10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){if(!b)b=
|
||||
this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&
|
||||
this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();
|
||||
var f=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-
|
||||
this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-b.grid[0]:f+b.grid[0]:f}}return{top:g-
|
||||
this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())}},_rearrange:function(a,b,c,e){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],
|
||||
this.direction=="down"?b.item[0]:b.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&&f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&&this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var e in this._storedCSS)if(this._storedCSS[e]=="auto"||this._storedCSS[e]=="static")this._storedCSS[e]=
|
||||
"";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!b&&c.push(function(f){this._trigger("receive",f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!b)c.push(function(f){this._trigger("update",f,this._uiHash())});if(!d.ui.contains(this.element[0],this.currentItem[0])){b||c.push(function(f){this._trigger("remove",
|
||||
f,this._uiHash())});for(e=this.containers.length-1;e>=0;e--)if(d.ui.contains(this.containers[e].element[0],this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,
|
||||
this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out",g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",
|
||||
a,this._uiHash());for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}return false}b||this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!b){for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},
|
||||
_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position,originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:"1.8.13"})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Accordion 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Accordion
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");
|
||||
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
|
||||
if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",
|
||||
function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=
|
||||
this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
|
||||
this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons();
|
||||
b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);
|
||||
a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
|
||||
c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options;
|
||||
if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);
|
||||
if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(),
|
||||
e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight||
|
||||
e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false",
|
||||
"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.13",
|
||||
animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);
|
||||
f[i]={value:j[1],unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",
|
||||
paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Autocomplete 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Autocomplete
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
* jquery.ui.position.js
|
||||
*/
|
||||
(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){g=
|
||||
false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
|
||||
a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
|
||||
this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&
|
||||
a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
|
||||
d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
|
||||
b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source==="string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=
|
||||
this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)},_search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();
|
||||
this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||
|
||||
b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next(new d.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;
|
||||
d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
|
||||
"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
|
||||
(function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
|
||||
-1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.scrollTop(),c=this.element.height();if(b<0)this.element.scrollTop(g+b);else b>=c&&this.element.scrollTop(g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
|
||||
this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0);e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,
|
||||
this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(".ui-menu-item:first"));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c<10&&c>-10});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(e,g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
|
||||
this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
|
||||
this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[d.fn.prop?"prop":"attr"]("scrollHeight")},select:function(e){this._trigger("selected",e,{item:this.active})}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Button 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Button
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,f=a([]);if(c)f=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return f};a.widget("ui.button",{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",
|
||||
i);if(typeof this.options.disabled!=="boolean")this.options.disabled=this.element.attr("disabled");this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var b=this,c=this.options,d=this.type==="checkbox"||this.type==="radio",f="ui-state-hover"+(!d?" ui-state-active":"");if(c.label===null)c.label=this.buttonElement.html();if(this.element.is(":disabled"))c.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",
|
||||
function(){if(!c.disabled){a(this).addClass("ui-state-hover");this===g&&a(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||a(this).removeClass(f)}).bind("focus.button",function(){a(this).addClass("ui-state-focus")}).bind("blur.button",function(){a(this).removeClass("ui-state-focus")}).bind("click.button",function(e){c.disabled&&e.stopImmediatePropagation()});d&&this.element.bind("change.button",function(){b.refresh()});if(this.type==="checkbox")this.buttonElement.bind("click.button",
|
||||
function(){if(c.disabled)return false;a(this).toggleClass("ui-state-active");b.buttonElement.attr("aria-pressed",b.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");b.buttonElement.attr("aria-pressed",true);var e=b.element[0];h(e).not(e).map(function(){return a(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)});else{this.buttonElement.bind("mousedown.button",
|
||||
function(){if(c.disabled)return false;a(this).addClass("ui-state-active");g=this;a(document).one("mouseup",function(){g=null})}).bind("mouseup.button",function(){if(c.disabled)return false;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(e){if(c.disabled)return false;if(e.keyCode==a.ui.keyCode.SPACE||e.keyCode==a.ui.keyCode.ENTER)a(this).addClass("ui-state-active")}).bind("keyup.button",function(){a(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===
|
||||
a.ui.keyCode.SPACE&&a(this).click()})}this._setOption("disabled",c.disabled)},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type==="radio"){var b=this.element.parents().filter(":last"),c="label[for="+this.element.attr("id")+"]";this.buttonElement=b.find(c);if(!this.buttonElement.length){b=b.length?b.siblings():this.element.siblings();this.buttonElement=b.filter(c);
|
||||
if(!this.buttonElement.length)this.buttonElement=b.find(c)}this.element.addClass("ui-helper-hidden-accessible");(b=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",b)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());
|
||||
this.hasTitle||this.buttonElement.removeAttr("title");a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b==="disabled")c?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var b=this.element.is(":disabled");b!==this.options.disabled&&this._setOption("disabled",b);if(this.type==="radio")h(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
|
||||
true):a(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var b=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),
|
||||
c=a("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,f=d.primary&&d.secondary,e=[];if(d.primary||d.secondary){if(this.options.text)e.push("ui-button-text-icon"+(f?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>");d.secondary&&b.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>");if(!this.options.text){e.push(f?"ui-button-icons-only":
|
||||
"ui-button-icon-only");this.hasTitle||b.attr("title",c)}}else e.push("ui-button-text-only");b.addClass(e.join(" "))}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},
|
||||
destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Dialog 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
* jquery.ui.button.js
|
||||
* jquery.ui.draggable.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.position.js
|
||||
* jquery.ui.resizable.js
|
||||
*/
|
||||
(function(c,l){var m={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},n={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},o=c.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,
|
||||
position:{my:"center",at:"center",collision:"fit",using:function(a){var b=c(this).css(a).offset().top;b<0&&c(this).css("top",a.top-b)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+
|
||||
b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),
|
||||
h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c("<span></span>").addClass("ui-dialog-title").attr("id",
|
||||
e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose=b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
|
||||
a.uiDialog.remove();a.originalTitle&&a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==
|
||||
b.uiDialog[0]){e=c(this).css("z-index");isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=
|
||||
1;d.uiDialog.css("z-index",c.ui.dialog.maxZ);d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target===
|
||||
f[0]&&e.shiftKey){g.focus(1);return false}}});c(a.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,
|
||||
function(){return!(d=true)});if(d){c.each(a,function(f,h){h=c.isFunction(h)?{click:h,text:f}:h;var i=c('<button type="button"></button>').click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.each(h,function(j,k){if(j!=="click")j in o?i[j](k):i.attr(j,k)});c.fn.button&&i.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",
|
||||
handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g=d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,
|
||||
originalSize:f.originalSize,position:f.position,size:f.size}}a=a===l?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position");a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",
|
||||
f,b(h))},stop:function(f,h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop",f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):
|
||||
[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each(["left","top"],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);
|
||||
if(g in m)e=true;if(g in n)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):
|
||||
e.removeClass("ui-dialog-disabled");break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||" "));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=
|
||||
this.options,b,d,e=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-
|
||||
b,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.13",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),
|
||||
create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()<c.ui.dialog.overlay.maxZ)return false})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||c("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),
|
||||
height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
|
||||
b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a<b?c(window).height()+"px":a+"px"}else return c(document).height()+"px"},width:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a<b?c(window).width()+"px":a+"px"}else return c(document).width()+"px"},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,
|
||||
function(){a=a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Slider 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Slider
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.mouse.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options,c=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),f=a.values&&a.values.length||1,e=[];this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+
|
||||
this.orientation+" ui-widget ui-widget-content ui-corner-all"+(a.disabled?" ui-slider-disabled ui-disabled":""));this.range=d([]);if(a.range){if(a.range===true){if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}this.range=d("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(a.range==="min"||a.range==="max"?" ui-slider-range-"+a.range:""))}for(var j=c.length;j<f;j+=1)e.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");
|
||||
this.handles=c.add(d(e.join("")).appendTo(b.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(g){g.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(g){d(this).data("index.ui-slider-handle",
|
||||
g)});this.handles.keydown(function(g){var k=true,l=d(this).data("index.ui-slider-handle"),i,h,m;if(!b.options.disabled){switch(g.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:k=false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");i=b._start(g,l);if(i===false)return}break}m=b.options.step;i=b.options.values&&b.options.values.length?
|
||||
(h=b.values(l)):(h=b.value());switch(g.keyCode){case d.ui.keyCode.HOME:h=b._valueMin();break;case d.ui.keyCode.END:h=b._valueMax();break;case d.ui.keyCode.PAGE_UP:h=b._trimAlignValue(i+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(i-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(i===b._valueMax())return;h=b._trimAlignValue(i+m);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(i===b._valueMin())return;h=b._trimAlignValue(i-
|
||||
m);break}b._slide(g,l,h);return k}}).keyup(function(g){var k=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(g,k);b._change(g,k);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();
|
||||
return this},_mouseCapture:function(b){var a=this.options,c,f,e,j,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});f=this._valueMax()-this._valueMin()+1;j=this;this.handles.each(function(k){var l=Math.abs(c-j.values(k));if(f>l){f=l;e=d(this);g=k}});if(a.range===true&&this.values(1)===a.min){g+=1;e=d(this.handles[g])}if(this._start(b,g)===false)return false;
|
||||
this._mouseSliding=true;j._handleIndex=g;e.addClass("ui-state-active").focus();a=e.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-e.width()/2,top:b.pageY-a.top-e.height()/2-(parseInt(e.css("borderTopWidth"),10)||0)-(parseInt(e.css("borderBottomWidth"),10)||0)+(parseInt(e.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(b){var a=
|
||||
this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;if(this.orientation==="horizontal"){a=
|
||||
this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);
|
||||
c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var f;if(this.options.values&&this.options.values.length){f=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>f||a===1&&c<f))c=f;if(c!==this.values(a)){f=this.values();f[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:f});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],value:c});
|
||||
b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
|
||||
this._trimAlignValue(b);this._refreshValue();this._change(null,0)}else return this._value()},values:function(b,a){var c,f,e;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}else if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;f=arguments[0];for(e=0;e<c.length;e+=1){c[e]=this._trimAlignValue(f[e]);this._change(null,e)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):
|
||||
this.value();else return this._values()},_setOption:function(b,a){var c,f=0;if(d.isArray(this.options.values))f=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
|
||||
this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<f;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
|
||||
return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
|
||||
_refreshValue:function(){var b=this.options.range,a=this.options,c=this,f=!this._animateOff?a.animate:false,e,j={},g,k,l,i;if(this.options.values&&this.options.values.length)this.handles.each(function(h){e=(c.values(h)-c._valueMin())/(c._valueMax()-c._valueMin())*100;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";d(this).stop(1,1)[f?"animate":"css"](j,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(h===0)c.range.stop(1,1)[f?"animate":"css"]({left:e+"%"},a.animate);
|
||||
if(h===1)c.range[f?"animate":"css"]({width:e-g+"%"},{queue:false,duration:a.animate})}else{if(h===0)c.range.stop(1,1)[f?"animate":"css"]({bottom:e+"%"},a.animate);if(h===1)c.range[f?"animate":"css"]({height:e-g+"%"},{queue:false,duration:a.animate})}g=e});else{k=this.value();l=this._valueMin();i=this._valueMax();e=i!==l?(k-l)/(i-l)*100:0;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";this.handle.stop(1,1)[f?"animate":"css"](j,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
|
||||
1)[f?"animate":"css"]({width:e+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[f?"animate":"css"]({width:100-e+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[f?"animate":"css"]({height:e+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[f?"animate":"css"]({height:100-e+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.13"})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Tabs 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Tabs
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading…</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&&
|
||||
e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=
|
||||
d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]||
|
||||
(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
|
||||
this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected=
|
||||
this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
|
||||
if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
|
||||
this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+
|
||||
g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",
|
||||
function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};
|
||||
this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected=
|
||||
-1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
|
||||
d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=
|
||||
d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b,
|
||||
e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
|
||||
j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
|
||||
if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null,
|
||||
this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
|
||||
load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
|
||||
"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
|
||||
url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.13"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
|
||||
a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Datepicker 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Datepicker
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
*/
|
||||
(function(d,B){function M(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
|
||||
"ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su",
|
||||
"Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",
|
||||
minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};d.extend(this._defaults,this.regional[""]);this.dpDiv=N(d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}function N(a){return a.delegate("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a",
|
||||
"mouseout",function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).delegate("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a","mouseover",function(){if(!d.datepicker._isDisabledDatepicker(J.inline?a.parent()[0]:J.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
|
||||
d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}})}function H(a,b){d.extend(a,b);for(var c in b)if(b[c]==null||b[c]==B)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.13"}});var z=(new Date).getTime(),J;d.extend(M.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},
|
||||
_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){H(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase();f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,
|
||||
b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:N(d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}},_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",
|
||||
function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&&b.append.remove();if(c){b.append=d('<span class="'+this._appendClass+'">'+c+"</span>");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);
|
||||
if(c=="button"||c=="both"){c=this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('<button type="button"></button>').addClass(this._triggerClass).html(f==""?c:d("<img/>").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);
|
||||
return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;g<f.length;g++)if(f[g].length>h){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a,c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);
|
||||
if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b),true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');
|
||||
this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}H(a.settings,e||{});b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/
|
||||
2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,
|
||||
"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=
|
||||
false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);b.children().removeClass("ui-state-disabled");b.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=
|
||||
true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);b.children().addClass("ui-state-disabled");b.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;
|
||||
for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return true;return false},_getInst:function(a){try{return d.data(a,"datepicker")}catch(b){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,b,c){var e=this._getInst(a);if(arguments.length==2&&typeof b=="string")return b=="defaults"?d.extend({},d.datepicker._defaults):e?b=="all"?d.extend({},e.settings):this._get(e,b):null;var f=b||{};if(typeof b=="string"){f={};f[b]=c}if(e){this._curInst==e&&
|
||||
this._hideDatepicker();var h=this._getDateDatepicker(a,true),i=this._getMinMaxDate(e,"min"),g=this._getMinMaxDate(e,"max");H(e.settings,f);if(i!==null&&f.dateFormat!==B&&f.minDate===B)e.settings.minDate=this._formatDate(e,i);if(g!==null&&f.dateFormat!==B&&f.maxDate===B)e.settings.maxDate=this._formatDate(e,g);this._attachments(d(a),e);this._autoSize(e);this._setDate(e,h);this._updateAlternate(e);this._updateDatepicker(e)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=
|
||||
this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();
|
||||
c=false;break;case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);c[0]?d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]):d.datepicker._hideDatepicker();return false;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,
|
||||
"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);c=a.ctrlKey||a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)d.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?+1:-1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,
|
||||
-7,"D");c=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?-1:+1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,+7,"D");c=a.ctrlKey||a.metaKey;break;default:c=false}else if(a.keyCode==36&&a.ctrlKey)d.datepicker._showDatepicker(this);else c=false;if(c){a.preventDefault();
|
||||
a.stopPropagation()}},_doKeyPress:function(a){var b=d.datepicker._getInst(a.target);if(d.datepicker._get(b,"constrainInput")){b=d.datepicker._possibleChars(d.datepicker._get(b,"dateFormat"));var c=String.fromCharCode(a.charCode==B?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||c<" "||!b||b.indexOf(c)>-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);
|
||||
d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true},_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");H(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=
|
||||
null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos=d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=
|
||||
null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b,c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],
|
||||
top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.datepicker._datepickerShowing=true;d.effects&&d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=d.datepicker._getBorders(a.dpDiv);J=a;a.dpDiv.empty().append(this._generateHTML(a));var c=a.dpDiv.find("iframe.ui-datepicker-cover");
|
||||
c.length&&c.css({left:-b[0],top:-b[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("."+this._dayOverClass+" a").mouseover();b=this._getNumberOfMonths(a);c=b[1];a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");c>1&&a.dpDiv.addClass("ui-datepicker-multi-"+c).css("width",17*c+"em");a.dpDiv[(b[0]!=1||b[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");
|
||||
a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var e=a.yearshtml;setTimeout(function(){e===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);e=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},
|
||||
_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e-
|
||||
g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);this._curInst=
|
||||
null};d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},
|
||||
_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):
|
||||
0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear=
|
||||
false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=
|
||||
d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);
|
||||
else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=
|
||||
a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,
|
||||
g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=A+1<a.length&&a.charAt(A+1)==p)&&A++;return p},m=function(p){var C=o(p);p=new RegExp("^\\d{1,"+(p=="@"?14:p=="!"?20:p=="y"&&C?4:p=="o"?3:2)+"}");p=b.substring(s).match(p);if(!p)throw"Missing number at position "+s;s+=p[0].length;return parseInt(p[0],10)},n=function(p,C,K){p=d.map(o(p)?K:C,function(w,x){return[[x,w]]}).sort(function(w,x){return-(w[1].length-x[1].length)});var E=-1;d.each(p,function(w,x){w=
|
||||
x[1];if(b.substr(s,w.length).toLowerCase()==w.toLowerCase()){E=x[0];s+=w.length;return false}});if(E!=-1)return E+1;else throw"Unknown name at position "+s;},r=function(){if(b.charAt(s)!=a.charAt(A))throw"Unexpected literal at position "+s;s++},s=0,A=0;A<a.length;A++)if(k)if(a.charAt(A)=="'"&&!o("'"))k=false;else r();else switch(a.charAt(A)){case "d":l=m("d");break;case "D":n("D",f,h);break;case "o":u=m("o");break;case "m":j=m("m");break;case "M":j=n("M",i,g);break;case "y":c=m("y");break;case "@":var v=
|
||||
new Date(m("@"));c=v.getFullYear();j=v.getMonth()+1;l=v.getDate();break;case "!":v=new Date((m("!")-this._ticksTo1970)/1E4);c=v.getFullYear();j=v.getMonth()+1;l=v.getDate();break;case "'":if(o("'"))r();else k=true;break;default:r()}if(c==-1)c=(new Date).getFullYear();else if(c<100)c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=e?0:-100);if(u>-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}v=this._daylightSavingAdjust(new Date(c,j-1,l));if(v.getFullYear()!=
|
||||
c||v.getMonth()+1!=j||v.getDate()!=l)throw"Invalid date";return v},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,
|
||||
h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+1<a.length&&a.charAt(k+1)==o)&&k++;return o},g=function(o,m,n){m=""+m;if(i(o))for(;m.length<n;)m="0"+m;return m},j=function(o,m,n,r){return i(o)?r[m]:n[m]},l="",u=false;if(b)for(var k=0;k<a.length;k++)if(u)if(a.charAt(k)=="'"&&!i("'"))u=false;else l+=a.charAt(k);else switch(a.charAt(k)){case "d":l+=g("d",b.getDate(),2);break;case "D":l+=j("D",b.getDay(),e,f);break;
|
||||
case "o":l+=g("o",(b.getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5,3);break;case "m":l+=g("m",b.getMonth()+1,2);break;case "M":l+=j("M",b.getMonth(),h,c);break;case "y":l+=i("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;break;case "@":l+=b.getTime();break;case "!":l+=b.getTime()*1E4+this._ticksTo1970;break;case "'":if(i("'"))l+="'";else u=true;break;default:l+=a.charAt(k)}return l},_possibleChars:function(a){for(var b="",c=false,e=function(h){(h=f+1<a.length&&a.charAt(f+
|
||||
1)==h)&&f++;return h},f=0;f<a.length;f++)if(c)if(a.charAt(f)=="'"&&!e("'"))c=false;else b+=a.charAt(f);else switch(a.charAt(f)){case "d":case "m":case "y":case "@":b+="0123456789";break;case "D":case "M":return null;case "'":if(e("'"))b+="'";else c=true;break;default:b+=a.charAt(f)}return b},_get:function(a,b){return a.settings[b]!==B?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,
|
||||
f,h;f=h=this._getDefaultDate(a);var i=this._getFormatConfig(a);try{f=this.parseDate(c,e,i)||h}catch(g){this.log(g);e=b?"":e}a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth=f.getMonth();a.drawYear=a.selectedYear=f.getFullYear();a.currentDay=e?f.getDate():0;a.currentMonth=e?f.getMonth():0;a.currentYear=e?f.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,
|
||||
c){var e=function(h){var i=new Date;i.setDate(i.getDate()+h);return i},f=function(h){try{return d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),h,d.datepicker._getFormatConfig(a))}catch(i){}var g=(h.toLowerCase().match(/^c/)?d.datepicker._getDate(a):null)||new Date,j=g.getFullYear(),l=g.getMonth();g=g.getDate();for(var u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,k=u.exec(h);k;){switch(k[2]||"d"){case "d":case "D":g+=parseInt(k[1],10);break;case "w":case "W":g+=parseInt(k[1],10)*7;break;case "m":case "M":l+=
|
||||
parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break;case "y":case "Y":j+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break}k=u.exec(h)}return new Date(j,l,g)};if(b=(b=b==null||b===""?c:typeof b=="string"?f(b):typeof b=="number"?isNaN(b)?c:e(b):new Date(b.getTime()))&&b.toString()=="Invalid Date"?c:b){b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0)}return this._daylightSavingAdjust(b)},_daylightSavingAdjust:function(a){if(!a)return null;
|
||||
a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&&!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||
|
||||
a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?
|
||||
new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");g=a.drawMonth-g;var m=a.drawYear;if(g<0){g+=12;m--}if(o){var n=this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&&n<k?k:n;this._daylightSavingAdjust(new Date(m,g,1))>n;){g--;if(g<0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,"prevText");n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));
|
||||
n=this._canAdjustMonth(a,-1,m,g)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+z+".datepicker._adjustDate('#"+a.id+"', -"+j+", 'M');\" title=\""+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>":f?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>";var r=this._get(a,"nextText");r=!h?r:this.formatDate(r,this._daylightSavingAdjust(new Date(m,
|
||||
g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+z+".datepicker._adjustDate('#"+a.id+"', +"+j+", 'M');\" title=\""+r+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+r+"</span></a>":f?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+r+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+r+"</span></a>";j=this._get(a,"currentText");r=this._get(a,"gotoCurrent")&&
|
||||
a.currentDay?u:b;j=!h?j:this.formatDate(j,r,this._getFormatConfig(a));h=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+z+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>":"";e=e?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?h:"")+(this._isInRange(a,r)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+
|
||||
z+".datepicker._gotoToday('#"+a.id+"');\">"+j+"</button>":"")+(c?"":h)+"</div>":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");r=this._get(a,"dayNames");this._get(a,"dayNamesShort");var s=this._get(a,"dayNamesMin"),A=this._get(a,"monthNames"),v=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),C=this._get(a,"showOtherMonths"),K=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var E=this._getDefaultDate(a),w="",x=0;x<i[0];x++){for(var O=
|
||||
"",G=0;G<i[1];G++){var P=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=" ui-corner-all",y="";if(l){y+='<div class="ui-datepicker-group';if(i[1]>1)switch(G){case 0:y+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":"left");break;case i[1]-1:y+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:y+=" ui-datepicker-group-middle";t="";break}y+='">'}y+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'">'+(/all|left/.test(t)&&x==0?c?
|
||||
f:n:"")+(/all|right/.test(t)&&x==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,x>0||G>0,A,v)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var D=j?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(t=0;t<7;t++){var q=(t+h)%7;D+="<th"+((t+h+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+r[q]+'">'+s[q]+"</span></th>"}y+=D+"</tr></thead><tbody>";D=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,
|
||||
D);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;D=l?6:Math.ceil((t+D)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var Q=0;Q<D;Q++){y+="<tr>";var R=!j?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(q)+"</td>";for(t=0;t<7;t++){var I=p?p.apply(a.input?a.input[0]:null,[q]):[true,""],F=q.getMonth()!=g,L=F&&!K||!I[0]||k&&q<k||o&&q>o;R+='<td class="'+((t+h+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(q.getTime()==P.getTime()&&g==a.selectedMonth&&
|
||||
a._keyEvent||E.getTime()==q.getTime()&&E.getTime()==P.getTime()?" "+this._dayOverClass:"")+(L?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!C?"":" "+I[1]+(q.getTime()==u.getTime()?" "+this._currentClass:"")+(q.getTime()==b.getTime()?" ui-datepicker-today":""))+'"'+((!F||C)&&I[2]?' title="'+I[2]+'"':"")+(L?"":' onclick="DP_jQuery_'+z+".datepicker._selectDay('#"+a.id+"',"+q.getMonth()+","+q.getFullYear()+', this);return false;"')+">"+(F&&!C?" ":L?'<span class="ui-state-default">'+q.getDate()+
|
||||
"</span>":'<a class="ui-state-default'+(q.getTime()==b.getTime()?" ui-state-highlight":"")+(q.getTime()==u.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+'" href="#">'+q.getDate()+"</a>")+"</td>";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}y+=R+"</tr>"}g++;if(g>11){g=0;m++}y+="</tbody></table>"+(l?"</div>"+(i[0]>0&&G==i[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");O+=y}w+=O}w+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':
|
||||
"");a._keyEvent=false;return w},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='<div class="ui-datepicker-title">',o="";if(h||!j)o+='<span class="ui-datepicker-month">'+i[b]+"</span>";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+z+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+z+".datepicker._clickMonthYear('#"+
|
||||
a.id+"');\">";for(var n=0;n<12;n++)if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth()))o+='<option value="'+n+'"'+(n==b?' selected="selected"':"")+">"+g[n]+"</option>";o+="</select>"}u||(k+=o+(h||!(j&&l)?" ":""));if(!a.yearshtml){a.yearshtml="";if(h||!l)k+='<span class="ui-datepicker-year">'+c+"</span>";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?
|
||||
r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+z+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+z+".datepicker._clickMonthYear('#"+a.id+"');\">";b<=g;b++)a.yearshtml+='<option value="'+b+'"'+(b==c?' selected="selected"':"")+">"+b+"</option>";a.yearshtml+="</select>";k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=
|
||||
(h||!(j&&l)?" ":"")+o;k+="</div>";return k},_adjustInstDate:function(a,b,c){var e=a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,
|
||||
"max");b=c&&b<c?c:b;return b=a&&b>a?a:b},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,
|
||||
b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a);c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!=
|
||||
"string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));
|
||||
return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker=function(a){if(!this.length)return this;if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&
|
||||
arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new M;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.13";window["DP_jQuery_"+z]=d})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Progressbar 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Progressbar
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.core.js
|
||||
* jquery.ui.widget.js
|
||||
*/
|
||||
(function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
|
||||
this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
|
||||
this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.13"})})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/
|
||||
*/
|
||||
jQuery.effects||function(f,j){function m(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1],
|
||||
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return m(b)}function o(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
|
||||
a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function p(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d=
|
||||
a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function l(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor",
|
||||
"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=m(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
|
||||
0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
|
||||
211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},q=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
|
||||
d){if(f.isFunction(b)){d=b;b=null}return this.queue(function(){var e=f(this),g=e.attr("style")||" ",h=p(o.call(this)),r,v=e.attr("class");f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});r=p(o.call(this));e.attr("class",v);e.animate(u(h,r),{queue:false,duration:a,easding:b,complete:function(){f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments);f.dequeue(this)}})})};
|
||||
f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,
|
||||
[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.13",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,a){var b;switch(c[0]){case "top":b=
|
||||
0;break;case "middle":b=0.5;break;case "bottom":b=1;break;default:b=c[0]/a.height}switch(c[1]){case "left":c=0;break;case "center":c=0.5;break;case "right":c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},b=f("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});
|
||||
c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,
|
||||
a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments);else{var a=k.apply(this,arguments);
|
||||
a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(l(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%",
|
||||
"pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*
|
||||
((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=
|
||||
e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=
|
||||
e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/
|
||||
h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g))+b},easeOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*a)*Math.sin((a*e-c)*2*Math.PI/g)+d+b},easeInOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e/2)==2)return b+d;g||(g=e*0.3*1.5);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);if(a<1)return-0.5*
|
||||
h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;if((a/=e/2)<1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c,a,b,d,e){return d-f.easing.easeOutBounce(c,
|
||||
e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)<1/2.75?d*7.5625*a*a+b:a<2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a<e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Blind 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Blind
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a,
|
||||
g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Bounce 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Bounce
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","bottom","left","right"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show();e.effects.createWrapper(a);var f=d=="up"||d=="down"?"top":"left";d=d=="up"||d=="left"?"pos":"neg";c=b.options.distance||(f=="top"?a.outerHeight({margin:true})/3:a.outerWidth({margin:true})/
|
||||
3);if(h=="show")a.css("opacity",0).css(f,d=="pos"?-c:c);if(h=="hide")c/=m*2;h!="hide"&&m--;if(h=="show"){var g={opacity:1};g[f]=(d=="pos"?"+=":"-=")+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g<m;g++){var j={},k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h=="hide"?c*2:c/2}if(h=="hide"){g={opacity:0};g[f]=(d=="pos"?"-=":"+=")+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a);
|
||||
b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments)})}a.queue("fx",function(){a.dequeue()});a.dequeue()})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Clip 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Clip
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=["position","top","bottom","left","right","height","width"],f=b.effects.setMode(a,e.options.mode||"hide"),c=e.options.direction||"vertical";b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:"hidden"});d=a[0].tagName=="IMG"?d:a;var g={size:c=="vertical"?"height":"width",position:c=="vertical"?"top":"left"};c=c=="vertical"?d.height():d.width();if(f=="show"){d.css(g.size,0);d.css(g.position,
|
||||
c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f=="hide"&&a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&&e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Drop 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Drop
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right","opacity"],e=c.effects.setMode(a,d.options.mode||"hide"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var g=d.options.distance||(f=="top"?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e=="show")a.css("opacity",0).css(f,b=="pos"?-g:g);var i={opacity:e==
|
||||
"show"?1:0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Explode 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Explode
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(j){j.effects.explode=function(a){return this.queue(function(){var c=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode=a.options.mode=="toggle"?j(this).is(":visible")?"hide":"show":a.options.mode;var b=j(this).show().css("visibility","hidden"),g=b.offset();g.top-=parseInt(b.css("marginTop"),10)||0;g.left-=parseInt(b.css("marginLeft"),10)||0;for(var h=b.outerWidth(true),i=b.outerHeight(true),e=0;e<c;e++)for(var f=
|
||||
0;f<d;f++)b.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+
|
||||
e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Fade 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Fade
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Fold 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Fold
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],
|
||||
10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Highlight 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Highlight
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
|
||||
this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Pulsate 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Pulsate
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c<times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration,
|
||||
a.options.easing,function(){animateTo==0&&b.hide();a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()}).dequeue()})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Scale 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Scale
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(c){c.effects.puff=function(b){return this.queue(function(){var a=c(this),e=c.effects.setMode(a,b.options.mode||"hide"),g=parseInt(b.options.percent,10)||150,h=g/100,i={height:a.height(),width:a.width()};c.extend(b.options,{fade:true,mode:e,percent:e=="hide"?g:100,from:e=="hide"?i:{height:i.height*h,width:i.width*h}});a.effect("scale",b.options,b.duration,b.callback);a.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var a=c(this),e=c.extend(true,{},b.options),g=c.effects.setMode(a,
|
||||
b.options.mode||"effect"),h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:g=="hide"?0:100),i=b.options.direction||"both",f=b.options.origin;if(g!="effect"){e.origin=f||["middle","center"];e.restore=true}f={height:a.height(),width:a.width()};a.from=b.options.from||(g=="show"?{height:0,width:0}:f);h={y:i!="horizontal"?h/100:1,x:i!="vertical"?h/100:1};a.to={height:f.height*h.y,width:f.width*h.x};if(b.options.fade){if(g=="show"){a.from.opacity=0;a.to.opacity=1}if(g=="hide"){a.from.opacity=
|
||||
1;a.to.opacity=0}}e.from=a.from;e.to=a.to;e.mode=g;a.effect("size",e,b.duration,b.callback);a.dequeue()})};c.effects.size=function(b){return this.queue(function(){var a=c(this),e=["position","top","bottom","left","right","width","height","overflow","opacity"],g=["position","top","bottom","left","right","overflow","opacity"],h=["width","height","overflow"],i=["fontSize"],f=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],k=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],
|
||||
p=c.effects.setMode(a,b.options.mode||"effect"),n=b.options.restore||false,m=b.options.scale||"both",l=b.options.origin,j={height:a.height(),width:a.width()};a.from=b.options.from||j;a.to=b.options.to||j;if(l){l=c.effects.getBaseline(l,j);a.from.top=(j.height-a.from.height)*l.y;a.from.left=(j.width-a.from.width)*l.x;a.to.top=(j.height-a.to.height)*l.y;a.to.left=(j.width-a.to.width)*l.x}var d={from:{y:a.from.height/j.height,x:a.from.width/j.width},to:{y:a.to.height/j.height,x:a.to.width/j.width}};
|
||||
if(m=="box"||m=="both"){if(d.from.y!=d.to.y){e=e.concat(f);a.from=c.effects.setTransition(a,f,d.from.y,a.from);a.to=c.effects.setTransition(a,f,d.to.y,a.to)}if(d.from.x!=d.to.x){e=e.concat(k);a.from=c.effects.setTransition(a,k,d.from.x,a.from);a.to=c.effects.setTransition(a,k,d.to.x,a.to)}}if(m=="content"||m=="both")if(d.from.y!=d.to.y){e=e.concat(i);a.from=c.effects.setTransition(a,i,d.from.y,a.from);a.to=c.effects.setTransition(a,i,d.to.y,a.to)}c.effects.save(a,n?e:g);a.show();c.effects.createWrapper(a);
|
||||
a.css("overflow","hidden").css(a.from);if(m=="content"||m=="both"){f=f.concat(["marginTop","marginBottom"]).concat(i);k=k.concat(["marginLeft","marginRight"]);h=e.concat(f).concat(k);a.find("*[width]").each(function(){child=c(this);n&&c.effects.save(child,h);var o={height:child.height(),width:child.width()};child.from={height:o.height*d.from.y,width:o.width*d.from.x};child.to={height:o.height*d.to.y,width:o.width*d.to.x};if(d.from.y!=d.to.y){child.from=c.effects.setTransition(child,f,d.from.y,child.from);
|
||||
child.to=c.effects.setTransition(child,f,d.to.y,child.to)}if(d.from.x!=d.to.x){child.from=c.effects.setTransition(child,k,d.from.x,child.from);child.to=c.effects.setTransition(child,k,d.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){n&&c.effects.restore(child,h)})})}a.animate(a.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a.to.opacity===0&&a.css("opacity",a.from.opacity);p=="hide"&&a.hide();c.effects.restore(a,
|
||||
n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Shake 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Shake
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=["position","top","bottom","left","right"];d.effects.setMode(b,a.options.mode||"effect");var c=a.options.direction||"left",e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c=="up"||c=="down"?"top":"left",h=c=="up"||c=="left"?"pos":"neg";c={};var i={},k={};c[g]=(h=="pos"?"-=":"+=")+e;i[g]=(h=="pos"?"+=":"-=")+e*2;k[g]=
|
||||
(h=="pos"?"-=":"+=")+e*2;b.animate(c,f,a.options.easing);for(e=1;e<l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Slide 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Slide
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e);
|
||||
var i={};i[g]=(f=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
||||
;/*
|
||||
* jQuery UI Effects Transfer 1.8.13
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Effects/Transfer
|
||||
*
|
||||
* Depends:
|
||||
* jquery.effects.core.js
|
||||
*/
|
||||
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments);
|
||||
b.dequeue()})})}})(jQuery);
|
||||
;
|
||||
338
simpla/design/js/elfinder/js/proxy/elFinderSupportVer1.js
Normal file
@@ -0,0 +1,338 @@
|
||||
"use strict";
|
||||
/**
|
||||
* elFinder transport to support old protocol.
|
||||
*
|
||||
* @example
|
||||
* $('selector').elfinder({
|
||||
* ....
|
||||
* transport : new elFinderSupportVer1()
|
||||
* })
|
||||
*
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
window.elFinderSupportVer1 = function(upload) {
|
||||
var self = this;
|
||||
|
||||
this.upload = upload || 'auto';
|
||||
|
||||
this.init = function(fm) {
|
||||
this.fm = fm;
|
||||
this.fm.parseUploadData = function(text) {
|
||||
var data;
|
||||
|
||||
if (!$.trim(text)) {
|
||||
return {error : ['errResponse', 'errDataEmpty']};
|
||||
}
|
||||
|
||||
try {
|
||||
data = $.parseJSON(text);
|
||||
} catch (e) {
|
||||
return {error : ['errResponse', 'errDataNotJSON']}
|
||||
}
|
||||
|
||||
return self.normalize('upload', data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
this.send = function(opts) {
|
||||
var self = this,
|
||||
fm = this.fm,
|
||||
dfrd = $.Deferred(),
|
||||
cmd = opts.data.cmd,
|
||||
args = [],
|
||||
_opts = {},
|
||||
data,
|
||||
xhr;
|
||||
|
||||
dfrd.abort = function() {
|
||||
!xhr.isRejected() && !xhr.isResolved() && xhr.abort();
|
||||
}
|
||||
|
||||
switch (cmd) {
|
||||
case 'open':
|
||||
opts.data.tree = 1;
|
||||
break;
|
||||
case 'parents':
|
||||
case 'tree':
|
||||
return dfrd.resolve({tree : []});
|
||||
break;
|
||||
case 'get':
|
||||
opts.data.cmd = 'read';
|
||||
opts.data.current = fm.file(opts.data.target).phash;
|
||||
break;
|
||||
case 'put':
|
||||
opts.data.cmd = 'edit';
|
||||
opts.data.current = fm.file(opts.data.target).phash;
|
||||
break;
|
||||
case 'archive':
|
||||
case 'rm':
|
||||
opts.data.current = fm.file(opts.data.targets[0]).phash;
|
||||
break;
|
||||
case 'extract':
|
||||
case 'rename':
|
||||
case 'resize':
|
||||
opts.data.current = fm.file(opts.data.target).phash;
|
||||
break;
|
||||
case 'duplicate':
|
||||
_opts = $.extend(true, {}, opts);
|
||||
|
||||
$.each(opts.data.targets, function(i, hash) {
|
||||
$.ajax($.extend(_opts, {data : {cmd : 'duplicate', target : hash, current : fm.file(hash).phash}}))
|
||||
.error(function(error) {
|
||||
fm.error(fm.res('error', 'connect'));
|
||||
})
|
||||
.done(function(data) {
|
||||
data = self.normalize('duplicate', data);
|
||||
if (data.error) {
|
||||
fm.error(data.error);
|
||||
} else if (data.added) {
|
||||
fm.trigger('add', {added : data.added});
|
||||
}
|
||||
})
|
||||
});
|
||||
return dfrd.resolve({})
|
||||
break;
|
||||
|
||||
case 'mkdir':
|
||||
case 'mkfile':
|
||||
opts.data.current = opts.data.target;
|
||||
break;
|
||||
case 'paste':
|
||||
opts.data.current = opts.data.dst
|
||||
break;
|
||||
|
||||
case 'size':
|
||||
return dfrd.resolve({error : fm.res('error', 'cmdsupport')});
|
||||
break;
|
||||
case 'search':
|
||||
return dfrd.resolve({error : fm.res('error', 'cmdsupport')});
|
||||
break;
|
||||
|
||||
}
|
||||
// cmd = opts.data.cmd
|
||||
|
||||
xhr = $.ajax(opts)
|
||||
.fail(function(error) {
|
||||
dfrd.reject(error)
|
||||
})
|
||||
.done(function(raw) {
|
||||
data = self.normalize(cmd, raw);
|
||||
|
||||
// cmd != 'open' && self.fm.log(data);
|
||||
|
||||
if (cmd == 'paste' && !data.error) {
|
||||
fm.sync();
|
||||
dfrd.resolve({});
|
||||
} else {
|
||||
dfrd.resolve(data);
|
||||
}
|
||||
})
|
||||
|
||||
return dfrd;
|
||||
|
||||
return $.ajax(opts);
|
||||
}
|
||||
|
||||
// fix old connectors errors messages as possible
|
||||
// this.errors = {
|
||||
// 'Unknown command' : 'Unknown command.',
|
||||
// 'Invalid backend configuration' : 'Invalid backend configuration.',
|
||||
// 'Access denied' : 'Access denied.',
|
||||
// 'PHP JSON module not installed' : 'PHP JSON module not installed.',
|
||||
// 'File not found' : 'File not found.',
|
||||
// 'Invalid name' : 'Invalid file name.',
|
||||
// 'File or folder with the same name already exists' : 'File named "$1" already exists in this location.',
|
||||
// 'Not allowed file type' : 'Not allowed file type.',
|
||||
// 'File exceeds the maximum allowed filesize' : 'File exceeds maximum allowed size.',
|
||||
// 'Unable to copy into itself' : 'Unable to copy "$1" into itself.',
|
||||
// 'Unable to create archive' : 'Unable to create archive.',
|
||||
// 'Unable to extract files from archive' : 'Unable to extract files from "$1".'
|
||||
// }
|
||||
|
||||
this.normalize = function(cmd, data) {
|
||||
var self = this,
|
||||
files = {},
|
||||
filter = function(file) { return file && file.hash && file.name && file.mime ? file : null; },
|
||||
phash;
|
||||
|
||||
if ((cmd == 'tmb' || cmd == 'get')) {
|
||||
return data;
|
||||
}
|
||||
|
||||
// if (data.error) {
|
||||
// $.each(data.error, function(i, msg) {
|
||||
// if (self.errors[msg]) {
|
||||
// data.error[i] = self.errors[msg];
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
||||
if (cmd == 'upload' && data.error && data.cwd) {
|
||||
data.warning = $.extend({}, data.error);
|
||||
data.error = false;
|
||||
}
|
||||
|
||||
|
||||
if (data.error) {
|
||||
return data;
|
||||
}
|
||||
|
||||
if (cmd == 'put') {
|
||||
|
||||
phash = this.fm.file(data.target.hash).phash;
|
||||
return {changed : [this.normalizeFile(data.target, phash)]};
|
||||
}
|
||||
|
||||
phash = data.cwd.hash;
|
||||
|
||||
if (data.tree) {
|
||||
$.each(this.normalizeTree(data.tree), function(i, file) {
|
||||
files[file.hash] = file;
|
||||
});
|
||||
}
|
||||
|
||||
$.each(data.cdc||[], function(i, file) {
|
||||
var hash = file.hash;
|
||||
|
||||
if (files[hash]) {
|
||||
files[hash].date = file.date;
|
||||
files[hash].locked = file.hash == phash ? true : file.rm === void(0) ? false : !file.rm;
|
||||
} else {
|
||||
files[hash] = self.normalizeFile(file, phash, data.tmb);
|
||||
}
|
||||
});
|
||||
|
||||
if (!data.tree) {
|
||||
$.each(this.fm.files(), function(hash, file) {
|
||||
if (!files[hash] && file.phash != phash && file.mime == 'directory') {
|
||||
files[hash] = file;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (cmd == 'open') {
|
||||
return {
|
||||
cwd : files[phash] || this.normalizeFile(data.cwd),
|
||||
files : $.map(files, function(f) { return f }),
|
||||
options : self.normalizeOptions(data),
|
||||
init : !!data.params,
|
||||
debug : data.debug
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $.extend({
|
||||
current : data.cwd.hash,
|
||||
error : data.error,
|
||||
warning : data.warning,
|
||||
options : {tmb : !!data.tmb}
|
||||
}, this.fm.diff($.map(files, filter)));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert old api tree into plain array of dirs
|
||||
*
|
||||
* @param Object root dir
|
||||
* @return Array
|
||||
*/
|
||||
this.normalizeTree = function(root) {
|
||||
var self = this,
|
||||
result = [],
|
||||
traverse = function(dirs, phash) {
|
||||
var i, dir;
|
||||
|
||||
for (i = 0; i < dirs.length; i++) {
|
||||
dir = dirs[i];
|
||||
result.push(self.normalizeFile(dir, phash))
|
||||
dir.dirs.length && traverse(dir.dirs, dir.hash);
|
||||
}
|
||||
};
|
||||
|
||||
traverse([root]);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert file info from old api format into new one
|
||||
*
|
||||
* @param Object file
|
||||
* @param String parent dir hash
|
||||
* @return Object
|
||||
*/
|
||||
this.normalizeFile = function(file, phash, tmb) {
|
||||
var mime = file.mime || 'directory',
|
||||
size = mime == 'directory' && !file.linkTo ? 0 : file.size,
|
||||
info = {
|
||||
url : file.url,
|
||||
hash : file.hash,
|
||||
phash : phash,
|
||||
name : file.name,
|
||||
mime : mime,
|
||||
date : file.date || 'unknown',
|
||||
size : size,
|
||||
read : file.read,
|
||||
write : file.write,
|
||||
locked : !phash ? true : file.rm === void(0) ? false : !file.rm
|
||||
};
|
||||
|
||||
if (file.mime == 'application/x-empty') {
|
||||
info.mime = 'text/plain';
|
||||
}
|
||||
if (file.linkTo) {
|
||||
info.alias = file.linkTo;
|
||||
}
|
||||
|
||||
if (file.linkTo) {
|
||||
info.linkTo = file.linkTo;
|
||||
}
|
||||
|
||||
if (file.tmb) {
|
||||
info.tmb = file.tmb;
|
||||
} else if (info.mime.indexOf('image/') === 0 && tmb) {
|
||||
info.tmb = 1;
|
||||
|
||||
}
|
||||
|
||||
if (file.dirs && file.dirs.length) {
|
||||
info.dirs = true;
|
||||
}
|
||||
if (file.dim) {
|
||||
info.dim = file.dim;
|
||||
}
|
||||
if (file.resize) {
|
||||
info.resize = file.resize;
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
||||
this.normalizeOptions = function(data) {
|
||||
var opts = {
|
||||
path : data.cwd.rel,
|
||||
disabled : data.disabled || [],
|
||||
tmb : !!data.tmb,
|
||||
copyOverwrite : true
|
||||
};
|
||||
|
||||
if (data.params) {
|
||||
opts.api = 1;
|
||||
opts.url = data.params.url;
|
||||
opts.archivers = {
|
||||
create : data.params.archives || [],
|
||||
extract : data.params.extract || []
|
||||
}
|
||||
}
|
||||
|
||||
if (opts.path.indexOf('/') !== -1) {
|
||||
opts.separator = '/';
|
||||
} else if (opts.path.indexOf('\\') !== -1) {
|
||||
opts.separator = '\\';
|
||||
}
|
||||
return opts;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
23
simpla/design/js/elfinder/php/MySQLStorage.sql
Normal file
@@ -0,0 +1,23 @@
|
||||
DROP TABLE IF EXISTS `elfinder_file`;
|
||||
CREATE TABLE IF NOT EXISTS `elfinder_file` (
|
||||
`id` int(7) unsigned NOT NULL auto_increment,
|
||||
`parent_id` int(7) unsigned NOT NULL,
|
||||
`name` varchar(256) NOT NULL,
|
||||
`content` longblob NOT NULL,
|
||||
`size` int(10) unsigned NOT NULL default '0',
|
||||
`mtime` int(10) unsigned NOT NULL,
|
||||
`mime` varchar(256) NOT NULL default 'unknown',
|
||||
`read` enum('1', '0') NOT NULL default '1',
|
||||
`write` enum('1', '0') NOT NULL default '1',
|
||||
`locked` enum('1', '0') NOT NULL default '0',
|
||||
`hidden` enum('1', '0') NOT NULL default '0',
|
||||
`width` int(5) NOT NULL,
|
||||
`height` int(5) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `parent_name` (`parent_id`, `name`),
|
||||
KEY `parent_id` (`parent_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
||||
|
||||
INSERT INTO `elfinder_file`
|
||||
(`id`, `parent_id`, `name`, `content`, `size`, `mtime`, `mime`, `read`, `write`, `locked`, `hidden`, `width`, `height`) VALUES
|
||||
('1', '0', 'DATABASE', '', '0', '0', 'directory', '1', '1', '0', '0', '0', '0');
|
||||
48
simpla/design/js/elfinder/php/connector.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
error_reporting(0); // Set E_ALL for debuging
|
||||
|
||||
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderConnector.class.php';
|
||||
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinder.class.php';
|
||||
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderVolumeDriver.class.php';
|
||||
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderVolumeLocalFileSystem.class.php';
|
||||
// Required for MySQL storage connector
|
||||
// include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderVolumeMySQL.class.php';
|
||||
// Required for FTP connector support
|
||||
// include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderVolumeFTP.class.php';
|
||||
|
||||
|
||||
/**
|
||||
* Simple function to demonstrate how to control file access using "accessControl" callback.
|
||||
* This method will disable accessing files/folders starting from '.' (dot)
|
||||
*
|
||||
* @param string $attr attribute name (read|write|locked|hidden)
|
||||
* @param string $path file path relative to volume root directory started with directory separator
|
||||
* @return bool|null
|
||||
**/
|
||||
function access($attr, $path, $data, $volume) {
|
||||
return strpos(basename($path), '.') === 0 // if file/folder begins with '.' (dot)
|
||||
? !($attr == 'read' || $attr == 'write') // set read+write to false, other (locked+hidden) set to true
|
||||
: null; // else elFinder decide it itself
|
||||
}
|
||||
|
||||
$opts = array(
|
||||
// 'debug' => true,
|
||||
'roots' => array(
|
||||
array(
|
||||
'driver' => 'LocalFileSystem', // driver for accessing file system (REQUIRED)
|
||||
'path' => $_SERVER["DOCUMENT_ROOT"].'/files/uploads', // path to files (REQUIRED)
|
||||
// 'URL' => dirname($_SERVER['PHP_SELF']) . '/../files/', // URL to files (REQUIRED)
|
||||
'URL' => '/files/uploads/', // URL to files (REQUIRED)
|
||||
|
||||
'accessControl' => 'access' // disable and hide dot starting files (OPTIONAL)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
// run elFinder
|
||||
@session_start();
|
||||
if(!isset($_SESSION['admin'])) die('boo boo');
|
||||
$connector = new elFinderConnector(new elFinder($opts));
|
||||
$connector->run();
|
||||
|
||||
1103
simpla/design/js/elfinder/php/elFinder.class.php
Normal file
133
simpla/design/js/elfinder/php/elFinderConnector.class.php
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Default elFinder connector
|
||||
*
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
class elFinderConnector {
|
||||
/**
|
||||
* elFinder instance
|
||||
*
|
||||
* @var elFinder
|
||||
**/
|
||||
protected $elFinder;
|
||||
|
||||
/**
|
||||
* Options
|
||||
*
|
||||
* @var aray
|
||||
**/
|
||||
protected $options = array();
|
||||
|
||||
/**
|
||||
* undocumented class variable
|
||||
*
|
||||
* @var string
|
||||
**/
|
||||
protected $header = 'Content-Type: application/json';
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
public function __construct($elFinder, $debug=false) {
|
||||
|
||||
$this->elFinder = $elFinder;
|
||||
if ($debug) {
|
||||
$this->header = 'Content-Type: text/html; charset=utf-8';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute elFinder command and output result
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
public function run() {
|
||||
$isPost = $_SERVER["REQUEST_METHOD"] == 'POST';
|
||||
$src = $_SERVER["REQUEST_METHOD"] == 'POST' ? $_POST : $_GET;
|
||||
$cmd = isset($src['cmd']) ? $src['cmd'] : '';
|
||||
$args = array();
|
||||
|
||||
if (!function_exists('json_encode')) {
|
||||
$error = $this->elFinder->error(elFinder::ERROR_CONF, elFinder::ERROR_CONF_NO_JSON);
|
||||
$this->output(array('error' => '{"error":["'.implode('","', $error).'"]}', 'raw' => true));
|
||||
}
|
||||
|
||||
if (!$this->elFinder->loaded()) {
|
||||
$this->output(array('error' => $this->elFinder->error(elFinder::ERROR_CONF, elFinder::ERROR_CONF_NO_VOL), 'debug' => $this->elFinder->mountErrors));
|
||||
}
|
||||
|
||||
// telepat_mode: on
|
||||
if (!$cmd && $isPost) {
|
||||
$this->output(array('error' => $this->elFinder->error(elFinder::ERROR_UPLOAD, elFinder::ERROR_UPLOAD_TOTAL_SIZE), 'header' => 'Content-Type: text/html'));
|
||||
}
|
||||
// telepat_mode: off
|
||||
|
||||
if (!$this->elFinder->commandExists($cmd)) {
|
||||
$this->output(array('error' => $this->elFinder->error(elFinder::ERROR_UNKNOWN_CMD)));
|
||||
}
|
||||
|
||||
// collect required arguments to exec command
|
||||
foreach ($this->elFinder->commandArgsList($cmd) as $name => $req) {
|
||||
$arg = $name == 'FILES'
|
||||
? $_FILES
|
||||
: (isset($src[$name]) ? $src[$name] : '');
|
||||
|
||||
if (!is_array($arg)) {
|
||||
$arg = trim($arg);
|
||||
}
|
||||
if ($req && (!isset($arg) || $arg === '')) {
|
||||
$this->output(array('error' => $this->elFinder->error(elFinder::ERROR_INV_PARAMS, $cmd)));
|
||||
}
|
||||
$args[$name] = $arg;
|
||||
}
|
||||
|
||||
$args['debug'] = isset($src['debug']) ? !!$src['debug'] : false;
|
||||
|
||||
$this->output($this->elFinder->exec($cmd, $args));
|
||||
}
|
||||
|
||||
/**
|
||||
* Output json
|
||||
*
|
||||
* @param array data to output
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function output(array $data) {
|
||||
$header = isset($data['header']) ? $data['header'] : $this->header;
|
||||
unset($data['header']);
|
||||
if ($header) {
|
||||
if (is_array($header)) {
|
||||
foreach ($header as $h) {
|
||||
header($h);
|
||||
}
|
||||
} else {
|
||||
header($header);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($data['pointer'])) {
|
||||
rewind($data['pointer']);
|
||||
fpassthru($data['pointer']);
|
||||
if (!empty($data['volume'])) {
|
||||
$data['volume']->close($data['pointer'], $data['info']['hash']);
|
||||
}
|
||||
exit();
|
||||
} else {
|
||||
if (!empty($data['raw']) && !empty($data['error'])) {
|
||||
exit($data['error']);
|
||||
} else {
|
||||
exit(json_encode($data));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}// END class
|
||||
3370
simpla/design/js/elfinder/php/elFinderVolumeDriver.class.php
Normal file
@@ -0,0 +1,835 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* elFinder driver for local filesystem.
|
||||
*
|
||||
* @author Dmitry (dio) Levashov
|
||||
* @author Troex Nevelin
|
||||
**/
|
||||
class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
|
||||
/**
|
||||
* Driver id
|
||||
* Must be started from letter and contains [a-z0-9]
|
||||
* Used as part of volume id
|
||||
*
|
||||
* @var string
|
||||
**/
|
||||
protected $driverId = 'l';
|
||||
|
||||
/**
|
||||
* Required to count total archive files size
|
||||
*
|
||||
* @var int
|
||||
**/
|
||||
protected $archiveSize = 0;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* Extend options with required fields
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
public function __construct() {
|
||||
$this->options['alias'] = ''; // alias to replace root dir name
|
||||
$this->options['dirMode'] = 0755; // new dirs mode
|
||||
$this->options['fileMode'] = 0644; // new files mode
|
||||
$this->options['quarantine'] = '.quarantine'; // quarantine folder name - required to check archive (must be hidden)
|
||||
$this->options['maxArcFilesSize'] = 0; // max allowed archive files size (0 - no limit)
|
||||
}
|
||||
|
||||
/*********************************************************************/
|
||||
/* INIT AND CONFIGURE */
|
||||
/*********************************************************************/
|
||||
|
||||
/**
|
||||
* Configure after successfull mount.
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function configure() {
|
||||
$this->aroot = realpath($this->root);
|
||||
$root = $this->stat($this->root);
|
||||
|
||||
if ($this->options['quarantine']) {
|
||||
$this->attributes[] = array(
|
||||
'pattern' => '~^'.preg_quote(DIRECTORY_SEPARATOR.$this->options['quarantine']).'$~',
|
||||
'read' => false,
|
||||
'write' => false,
|
||||
'locked' => true,
|
||||
'hidden' => true
|
||||
);
|
||||
}
|
||||
|
||||
// chek thumbnails path
|
||||
if ($this->options['tmbPath']) {
|
||||
$this->options['tmbPath'] = strpos($this->options['tmbPath'], DIRECTORY_SEPARATOR) === false
|
||||
// tmb path set as dirname under root dir
|
||||
? $this->root.DIRECTORY_SEPARATOR.$this->options['tmbPath']
|
||||
// tmb path as full path
|
||||
: $this->_normpath($this->options['tmbPath']);
|
||||
}
|
||||
|
||||
parent::configure();
|
||||
|
||||
// if no thumbnails url - try detect it
|
||||
if ($root['read'] && !$this->tmbURL && $this->URL) {
|
||||
if (strpos($this->tmbPath, $this->root) === 0) {
|
||||
$this->tmbURL = $this->URL.str_replace(DIRECTORY_SEPARATOR, '/', substr($this->tmbPath, strlen($this->root)+1));
|
||||
if (preg_match("|[^/?&=]$|", $this->tmbURL)) {
|
||||
$this->tmbURL .= '/';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check quarantine dir
|
||||
if (!empty($this->options['quarantine'])) {
|
||||
$this->quarantine = $this->root.DIRECTORY_SEPARATOR.$this->options['quarantine'];
|
||||
if ((!is_dir($this->quarantine) && !$this->_mkdir($this->root, $this->options['quarantine'])) || !is_writable($this->quarantine)) {
|
||||
$this->archivers['extract'] = array();
|
||||
$this->disabled[] = 'extract';
|
||||
}
|
||||
} else {
|
||||
$this->archivers['extract'] = array();
|
||||
$this->disabled[] = 'extract';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*********************************************************************/
|
||||
/* FS API */
|
||||
/*********************************************************************/
|
||||
|
||||
/*********************** paths/urls *************************/
|
||||
|
||||
/**
|
||||
* Return parent directory path
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _dirname($path) {
|
||||
return dirname($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return file name
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _basename($path) {
|
||||
return basename($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Join dir name and file name and retur full path
|
||||
*
|
||||
* @param string $dir
|
||||
* @param string $name
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _joinPath($dir, $name) {
|
||||
return $dir.DIRECTORY_SEPARATOR.$name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return normalized path, this works the same as os.path.normpath() in Python
|
||||
*
|
||||
* @param string $path path
|
||||
* @return string
|
||||
* @author Troex Nevelin
|
||||
**/
|
||||
protected function _normpath($path) {
|
||||
if (empty($path)) {
|
||||
return '.';
|
||||
}
|
||||
|
||||
if (strpos($path, '/') === 0) {
|
||||
$initial_slashes = true;
|
||||
} else {
|
||||
$initial_slashes = false;
|
||||
}
|
||||
|
||||
if (($initial_slashes)
|
||||
&& (strpos($path, '//') === 0)
|
||||
&& (strpos($path, '///') === false)) {
|
||||
$initial_slashes = 2;
|
||||
}
|
||||
|
||||
$initial_slashes = (int) $initial_slashes;
|
||||
|
||||
$comps = explode('/', $path);
|
||||
$new_comps = array();
|
||||
foreach ($comps as $comp) {
|
||||
if (in_array($comp, array('', '.'))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (($comp != '..')
|
||||
|| (!$initial_slashes && !$new_comps)
|
||||
|| ($new_comps && (end($new_comps) == '..'))) {
|
||||
array_push($new_comps, $comp);
|
||||
} elseif ($new_comps) {
|
||||
array_pop($new_comps);
|
||||
}
|
||||
}
|
||||
$comps = $new_comps;
|
||||
$path = implode('/', $comps);
|
||||
if ($initial_slashes) {
|
||||
$path = str_repeat('/', $initial_slashes) . $path;
|
||||
}
|
||||
|
||||
return $path ? $path : '.';
|
||||
}
|
||||
|
||||
/**
|
||||
* Return file path related to root dir
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _relpath($path) {
|
||||
return $path == $this->root ? '' : substr($path, strlen($this->root)+1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert path related to root dir into real path
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _abspath($path) {
|
||||
return $path == DIRECTORY_SEPARATOR ? $this->root : $this->root.DIRECTORY_SEPARATOR.$path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return fake path started from root dir
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _path($path) {
|
||||
return $this->rootName.($path == $this->root ? '' : $this->separator.$this->_relpath($path));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if $path is children of $parent
|
||||
*
|
||||
* @param string $path path to check
|
||||
* @param string $parent parent path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _inpath($path, $parent) {
|
||||
return $path == $parent || strpos($path, $parent.DIRECTORY_SEPARATOR) === 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***************** file stat ********************/
|
||||
|
||||
/**
|
||||
* Return stat for given path.
|
||||
* Stat contains following fields:
|
||||
* - (int) size file size in b. required
|
||||
* - (int) ts file modification time in unix time. required
|
||||
* - (string) mime mimetype. required for folders, others - optionally
|
||||
* - (bool) read read permissions. required
|
||||
* - (bool) write write permissions. required
|
||||
* - (bool) locked is object locked. optionally
|
||||
* - (bool) hidden is object hidden. optionally
|
||||
* - (string) alias for symlinks - link target path relative to root path. optionally
|
||||
* - (string) target for symlinks - link target path. optionally
|
||||
*
|
||||
* If file does not exists - returns empty array or false.
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return array|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _stat($path) {
|
||||
$stat = array();
|
||||
|
||||
if (!file_exists($path)) {
|
||||
return $stat;
|
||||
}
|
||||
|
||||
if ($path != $this->root && is_link($path)) {
|
||||
if (($target = $this->readlink($path)) == false
|
||||
|| $target == $path) {
|
||||
$stat['mime'] = 'symlink-broken';
|
||||
$stat['read'] = false;
|
||||
$stat['write'] = false;
|
||||
$stat['size'] = 0;
|
||||
return $stat;
|
||||
}
|
||||
$stat['alias'] = $this->_path($target);
|
||||
$stat['target'] = $target;
|
||||
$path = $target;
|
||||
$lstat = lstat($path);
|
||||
$size = $lstat['size'];
|
||||
} else {
|
||||
$size = @filesize($path);
|
||||
}
|
||||
|
||||
$dir = is_dir($path);
|
||||
|
||||
$stat['mime'] = $dir ? 'directory' : $this->mimetype($path);
|
||||
$stat['ts'] = filemtime($path);
|
||||
$stat['read'] = is_readable($path);
|
||||
$stat['write'] = is_writable($path);
|
||||
if ($stat['read']) {
|
||||
$stat['size'] = $dir ? 0 : $size;
|
||||
}
|
||||
|
||||
return $stat;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if path is dir and has at least one childs directory
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _subdirs($path) {
|
||||
|
||||
if (($dir = dir($path))) {
|
||||
$dir = dir($path);
|
||||
while (($entry = $dir->read()) !== false) {
|
||||
$p = $dir->path.DIRECTORY_SEPARATOR.$entry;
|
||||
if ($entry != '.' && $entry != '..' && is_dir($p) && !$this->attr($p, 'hidden')) {
|
||||
$dir->close();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
$dir->close();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return object width and height
|
||||
* Ususaly used for images, but can be realize for video etc...
|
||||
*
|
||||
* @param string $path file path
|
||||
* @param string $mime file mime type
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _dimensions($path, $mime) {
|
||||
clearstatcache();
|
||||
return strpos($mime, 'image') === 0 && ($s = @getimagesize($path)) !== false
|
||||
? $s[0].'x'.$s[1]
|
||||
: false;
|
||||
}
|
||||
/******************** file/dir content *********************/
|
||||
|
||||
/**
|
||||
* Return symlink target file
|
||||
*
|
||||
* @param string $path link path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function readlink($path) {
|
||||
if (!($target = @readlink($path))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (substr($target, 0, 1) != DIRECTORY_SEPARATOR) {
|
||||
$target = dirname($path).DIRECTORY_SEPARATOR.$target;
|
||||
}
|
||||
|
||||
$atarget = realpath($target);
|
||||
|
||||
if (!$atarget) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$root = $this->root;
|
||||
$aroot = $this->aroot;
|
||||
|
||||
if ($this->_inpath($atarget, $this->aroot)) {
|
||||
return $this->_normpath($this->root.DIRECTORY_SEPARATOR.substr($atarget, strlen($this->aroot)+1));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return files list in directory.
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return array
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _scandir($path) {
|
||||
$files = array();
|
||||
|
||||
foreach (scandir($path) as $name) {
|
||||
if ($name != '.' && $name != '..') {
|
||||
$files[] = $path.DIRECTORY_SEPARATOR.$name;
|
||||
}
|
||||
}
|
||||
return $files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Open file and return file pointer
|
||||
*
|
||||
* @param string $path file path
|
||||
* @param bool $write open file for writing
|
||||
* @return resource|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _fopen($path, $mode='rb') {
|
||||
return @fopen($path, 'r');
|
||||
}
|
||||
|
||||
/**
|
||||
* Close opened file
|
||||
*
|
||||
* @param resource $fp file pointer
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _fclose($fp, $path='') {
|
||||
return @fclose($fp);
|
||||
}
|
||||
|
||||
/******************** file/dir manipulations *************************/
|
||||
|
||||
/**
|
||||
* Create dir and return created dir path or false on failed
|
||||
*
|
||||
* @param string $path parent dir path
|
||||
* @param string $name new directory name
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _mkdir($path, $name) {
|
||||
$path = $path.DIRECTORY_SEPARATOR.$name;
|
||||
|
||||
if (@mkdir($path)) {
|
||||
@chmod($path, $this->options['dirMode']);
|
||||
return $path;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create file and return it's path or false on failed
|
||||
*
|
||||
* @param string $path parent dir path
|
||||
* @param string $name new file name
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _mkfile($path, $name) {
|
||||
$path = $path.DIRECTORY_SEPARATOR.$name;
|
||||
|
||||
if (($fp = @fopen($path, 'w'))) {
|
||||
@fclose($fp);
|
||||
@chmod($path, $this->options['fileMode']);
|
||||
return $path;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create symlink
|
||||
*
|
||||
* @param string $source file to link to
|
||||
* @param string $targetDir folder to create link in
|
||||
* @param string $name symlink name
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _symlink($source, $targetDir, $name) {
|
||||
return @symlink($source, $targetDir.DIRECTORY_SEPARATOR.$name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy file into another file
|
||||
*
|
||||
* @param string $source source file path
|
||||
* @param string $targetDir target directory path
|
||||
* @param string $name new file name
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _copy($source, $targetDir, $name) {
|
||||
return copy($source, $targetDir.DIRECTORY_SEPARATOR.$name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Move file into another parent dir.
|
||||
* Return new file path or false.
|
||||
*
|
||||
* @param string $source source file path
|
||||
* @param string $target target dir path
|
||||
* @param string $name file name
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _move($source, $targetDir, $name) {
|
||||
$target = $targetDir.DIRECTORY_SEPARATOR.$name;
|
||||
return @rename($source, $target) ? $target : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove file
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _unlink($path) {
|
||||
return @unlink($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove dir
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _rmdir($path) {
|
||||
return @rmdir($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create new file and write into it from file pointer.
|
||||
* Return new file path or false on error.
|
||||
*
|
||||
* @param resource $fp file pointer
|
||||
* @param string $dir target dir path
|
||||
* @param string $name file name
|
||||
* @return bool|string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _save($fp, $dir, $name, $mime, $w, $h) {
|
||||
$path = $dir.DIRECTORY_SEPARATOR.$name;
|
||||
|
||||
if (!($target = @fopen($path, 'wb'))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
while (!feof($fp)) {
|
||||
fwrite($target, fread($fp, 8192));
|
||||
}
|
||||
fclose($target);
|
||||
@chmod($path, $this->options['fileMode']);
|
||||
clearstatcache();
|
||||
return $path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get file contents
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _getContents($path) {
|
||||
return file_get_contents($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Write a string to a file
|
||||
*
|
||||
* @param string $path file path
|
||||
* @param string $content new file content
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _filePutContents($path, $content) {
|
||||
if (@file_put_contents($path, $content, LOCK_EX) !== false) {
|
||||
clearstatcache();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Detect available archivers
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
protected function _checkArchivers() {
|
||||
if (!function_exists('exec')) {
|
||||
$this->options['archivers'] = $this->options['archive'] = array();
|
||||
return;
|
||||
}
|
||||
$arcs = array(
|
||||
'create' => array(),
|
||||
'extract' => array()
|
||||
);
|
||||
|
||||
//exec('tar --version', $o, $ctar);
|
||||
$this->procExec('tar --version', $o, $ctar);
|
||||
|
||||
if ($ctar == 0) {
|
||||
$arcs['create']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-cf', 'ext' => 'tar');
|
||||
$arcs['extract']['application/x-tar'] = array('cmd' => 'tar', 'argc' => '-xf', 'ext' => 'tar');
|
||||
//$test = exec('gzip --version', $o, $c);
|
||||
unset($o);
|
||||
$test = $this->procExec('gzip --version', $o, $c);
|
||||
|
||||
if ($c == 0) {
|
||||
$arcs['create']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-czf', 'ext' => 'tgz');
|
||||
$arcs['extract']['application/x-gzip'] = array('cmd' => 'tar', 'argc' => '-xzf', 'ext' => 'tgz');
|
||||
}
|
||||
unset($o);
|
||||
//$test = exec('bzip2 --version', $o, $c);
|
||||
$test = $this->procExec('bzip2 --version', $o, $c);
|
||||
if ($c == 0) {
|
||||
$arcs['create']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-cjf', 'ext' => 'tbz');
|
||||
$arcs['extract']['application/x-bzip2'] = array('cmd' => 'tar', 'argc' => '-xjf', 'ext' => 'tbz');
|
||||
}
|
||||
}
|
||||
unset($o);
|
||||
//exec('zip --version', $o, $c);
|
||||
$this->procExec('zip -v', $o, $c);
|
||||
if ($c == 0) {
|
||||
$arcs['create']['application/zip'] = array('cmd' => 'zip', 'argc' => '-r9', 'ext' => 'zip');
|
||||
}
|
||||
unset($o);
|
||||
$this->procExec('unzip --help', $o, $c);
|
||||
if ($c == 0) {
|
||||
$arcs['extract']['application/zip'] = array('cmd' => 'unzip', 'argc' => '', 'ext' => 'zip');
|
||||
}
|
||||
unset($o);
|
||||
//exec('rar --version', $o, $c);
|
||||
$this->procExec('rar --version', $o, $c);
|
||||
if ($c == 0 || $c == 7) {
|
||||
$arcs['create']['application/x-rar'] = array('cmd' => 'rar', 'argc' => 'a -inul', 'ext' => 'rar');
|
||||
$arcs['extract']['application/x-rar'] = array('cmd' => 'rar', 'argc' => 'x -y', 'ext' => 'rar');
|
||||
} else {
|
||||
unset($o);
|
||||
//$test = exec('unrar', $o, $c);
|
||||
$test = $this->procExec('unrar', $o, $c);
|
||||
if ($c==0 || $c == 7) {
|
||||
$arcs['extract']['application/x-rar'] = array('cmd' => 'unrar', 'argc' => 'x -y', 'ext' => 'rar');
|
||||
}
|
||||
}
|
||||
unset($o);
|
||||
//exec('7za --help', $o, $c);
|
||||
$this->procExec('7za --help', $o, $c);
|
||||
if ($c == 0) {
|
||||
$arcs['create']['application/x-7z-compressed'] = array('cmd' => '7za', 'argc' => 'a', 'ext' => '7z');
|
||||
$arcs['extract']['application/x-7z-compressed'] = array('cmd' => '7za', 'argc' => 'e -y', 'ext' => '7z');
|
||||
|
||||
if (empty($arcs['create']['application/x-gzip'])) {
|
||||
$arcs['create']['application/x-gzip'] = array('cmd' => '7za', 'argc' => 'a -tgzip', 'ext' => 'tar.gz');
|
||||
}
|
||||
if (empty($arcs['extract']['application/x-gzip'])) {
|
||||
$arcs['extract']['application/x-gzip'] = array('cmd' => '7za', 'argc' => 'e -tgzip -y', 'ext' => 'tar.gz');
|
||||
}
|
||||
if (empty($arcs['create']['application/x-bzip2'])) {
|
||||
$arcs['create']['application/x-bzip2'] = array('cmd' => '7za', 'argc' => 'a -tbzip2', 'ext' => 'tar.bz');
|
||||
}
|
||||
if (empty($arcs['extract']['application/x-bzip2'])) {
|
||||
$arcs['extract']['application/x-bzip2'] = array('cmd' => '7za', 'argc' => 'a -tbzip2 -y', 'ext' => 'tar.bz');
|
||||
}
|
||||
if (empty($arcs['create']['application/zip'])) {
|
||||
$arcs['create']['application/zip'] = array('cmd' => '7za', 'argc' => 'a -tzip -l', 'ext' => 'zip');
|
||||
}
|
||||
if (empty($arcs['extract']['application/zip'])) {
|
||||
$arcs['extract']['application/zip'] = array('cmd' => '7za', 'argc' => 'e -tzip -y', 'ext' => 'zip');
|
||||
}
|
||||
if (empty($arcs['create']['application/x-tar'])) {
|
||||
$arcs['create']['application/x-tar'] = array('cmd' => '7za', 'argc' => 'a -ttar -l', 'ext' => 'tar');
|
||||
}
|
||||
if (empty($arcs['extract']['application/x-tar'])) {
|
||||
$arcs['extract']['application/x-tar'] = array('cmd' => '7za', 'argc' => 'e -ttar -y', 'ext' => 'tar');
|
||||
}
|
||||
}
|
||||
|
||||
$this->archivers = $arcs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unpack archive
|
||||
*
|
||||
* @param string $path archive path
|
||||
* @param array $arc archiver command and arguments (same as in $this->archivers)
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
protected function _unpack($path, $arc) {
|
||||
$cwd = getcwd();
|
||||
$dir = $this->_dirname($path);
|
||||
chdir($dir);
|
||||
$cmd = $arc['cmd'].' '.$arc['argc'].' '.escapeshellarg($this->_basename($path));
|
||||
$this->procExec($cmd, $o, $c);
|
||||
chdir($cwd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Recursive symlinks search
|
||||
*
|
||||
* @param string $path file/dir path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _findSymlinks($path) {
|
||||
if (is_link($path)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (is_dir($path)) {
|
||||
foreach (scandir($path) as $name) {
|
||||
if ($name != '.' && $name != '..') {
|
||||
$p = $path.DIRECTORY_SEPARATOR.$name;
|
||||
if (is_link($p)) {
|
||||
return true;
|
||||
}
|
||||
if (is_dir($p) && $this->_findSymlinks($p)) {
|
||||
return true;
|
||||
} elseif (is_file($p)) {
|
||||
$this->archiveSize += filesize($p);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$this->archiveSize += filesize($path);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract files from archive
|
||||
*
|
||||
* @param string $path archive path
|
||||
* @param array $arc archiver command and arguments (same as in $this->archivers)
|
||||
* @return true
|
||||
* @author Dmitry (dio) Levashov,
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
protected function _extract($path, $arc) {
|
||||
|
||||
if ($this->quarantine) {
|
||||
$dir = $this->quarantine.DIRECTORY_SEPARATOR.str_replace(' ', '_', microtime()).basename($path);
|
||||
$archive = $dir.DIRECTORY_SEPARATOR.basename($path);
|
||||
|
||||
if (!@mkdir($dir)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
chmod($dir, 0777);
|
||||
|
||||
// copy in quarantine
|
||||
if (!copy($path, $archive)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// extract in quarantine
|
||||
$this->_unpack($archive, $arc);
|
||||
@unlink($archive);
|
||||
|
||||
// get files list
|
||||
$ls = array();
|
||||
foreach (scandir($dir) as $i => $name) {
|
||||
if ($name != '.' && $name != '..') {
|
||||
$ls[] = $name;
|
||||
}
|
||||
}
|
||||
|
||||
// no files - extract error ?
|
||||
if (empty($ls)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->archiveSize = 0;
|
||||
|
||||
// find symlinks
|
||||
$symlinks = $this->_findSymlinks($dir);
|
||||
// remove arc copy
|
||||
$this->remove($dir);
|
||||
|
||||
if ($symlinks) {
|
||||
return $this->setError(elFinder::ERROR_ARC_SYMLINKS);
|
||||
}
|
||||
|
||||
// check max files size
|
||||
if ($this->options['maxArcFilesSize'] > 0 && $this->options['maxArcFilesSize'] < $this->archiveSize) {
|
||||
return $this->setError(elFinder::ERROR_ARC_MAXSIZE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// archive contains one item - extract in archive dir
|
||||
if (count($ls) == 1) {
|
||||
$this->_unpack($path, $arc);
|
||||
$result = dirname($path).DIRECTORY_SEPARATOR.$ls[0];
|
||||
|
||||
|
||||
} else {
|
||||
// for several files - create new directory
|
||||
// create unique name for directory
|
||||
$name = basename($path);
|
||||
if (preg_match('/\.((tar\.(gz|bz|bz2|z|lzo))|cpio\.gz|ps\.gz|xcf\.(gz|bz2)|[a-z0-9]{1,4})$/i', $name, $m)) {
|
||||
$name = substr($name, 0, strlen($name)-strlen($m[0]));
|
||||
}
|
||||
$test = dirname($path).DIRECTORY_SEPARATOR.$name;
|
||||
if (file_exists($test) || is_link($test)) {
|
||||
$name = $this->uniqueName(dirname($path), $name, '-', false);
|
||||
}
|
||||
|
||||
$result = dirname($path).DIRECTORY_SEPARATOR.$name;
|
||||
$archive = $result.DIRECTORY_SEPARATOR.basename($path);
|
||||
|
||||
if (!$this->_mkdir(dirname($path), $name) || !copy($path, $archive)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->_unpack($archive, $arc);
|
||||
@unlink($archive);
|
||||
}
|
||||
|
||||
return file_exists($result) ? $result : false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create archive and return its path
|
||||
*
|
||||
* @param string $dir target dir
|
||||
* @param array $files files names list
|
||||
* @param string $name archive name
|
||||
* @param array $arc archiver options
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov,
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
protected function _archive($dir, $files, $name, $arc) {
|
||||
$cwd = getcwd();
|
||||
chdir($dir);
|
||||
|
||||
$files = array_map('escapeshellarg', $files);
|
||||
|
||||
$cmd = $arc['cmd'].' '.$arc['argc'].' '.escapeshellarg($name).' '.implode(' ', $files);
|
||||
$this->procExec($cmd, $o, $c);
|
||||
chdir($cwd);
|
||||
|
||||
$path = $dir.DIRECTORY_SEPARATOR.$name;
|
||||
return file_exists($path) ? $path : false;
|
||||
}
|
||||
|
||||
} // END class
|
||||
896
simpla/design/js/elfinder/php/elFinderVolumeMySQL.class.php
Normal file
@@ -0,0 +1,896 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Simple elFinder driver for MySQL.
|
||||
*
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
class elFinderVolumeMySQL extends elFinderVolumeDriver {
|
||||
|
||||
/**
|
||||
* Driver id
|
||||
* Must be started from letter and contains [a-z0-9]
|
||||
* Used as part of volume id
|
||||
*
|
||||
* @var string
|
||||
**/
|
||||
protected $driverId = 'm';
|
||||
|
||||
/**
|
||||
* Database object
|
||||
*
|
||||
* @var mysqli
|
||||
**/
|
||||
protected $db = null;
|
||||
|
||||
/**
|
||||
* Tables to store files
|
||||
*
|
||||
* @var string
|
||||
**/
|
||||
protected $tbf = '';
|
||||
|
||||
/**
|
||||
* Directory for tmp files
|
||||
* If not set driver will try to use tmbDir as tmpDir
|
||||
*
|
||||
* @var string
|
||||
**/
|
||||
protected $tmpPath = '';
|
||||
|
||||
/**
|
||||
* Numbers of sql requests (for debug)
|
||||
*
|
||||
* @var int
|
||||
**/
|
||||
protected $sqlCnt = 0;
|
||||
|
||||
/**
|
||||
* Last db error message
|
||||
*
|
||||
* @var string
|
||||
**/
|
||||
protected $dbError = '';
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* Extend options with required fields
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
public function __construct() {
|
||||
$opts = array(
|
||||
'host' => 'localhost',
|
||||
'user' => '',
|
||||
'pass' => '',
|
||||
'db' => '',
|
||||
'port' => null,
|
||||
'socket' => null,
|
||||
'files_table' => 'elfinder_file',
|
||||
'tmbPath' => '',
|
||||
'tmpPath' => ''
|
||||
);
|
||||
$this->options = array_merge($this->options, $opts);
|
||||
$this->options['mimeDetect'] = 'internal';
|
||||
}
|
||||
|
||||
/*********************************************************************/
|
||||
/* INIT AND CONFIGURE */
|
||||
/*********************************************************************/
|
||||
|
||||
/**
|
||||
* Prepare driver before mount volume.
|
||||
* Connect to db, check required tables and fetch root path
|
||||
*
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function init() {
|
||||
|
||||
if (!($this->options['host'] || $this->options['socket'])
|
||||
|| !$this->options['user']
|
||||
|| !$this->options['pass']
|
||||
|| !$this->options['db']
|
||||
|| !$this->options['path']
|
||||
|| !$this->options['files_table']) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$this->db = new mysqli($this->options['host'], $this->options['user'], $this->options['pass'], $this->options['db'], $this->options['port'], $this->options['socket']);
|
||||
if ($this->db->connect_error || @mysqli_connect_error()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->db->set_charset('utf8');
|
||||
|
||||
if ($res = $this->db->query('SHOW TABLES')) {
|
||||
while ($row = $res->fetch_array()) {
|
||||
if ($row[0] == $this->options['files_table']) {
|
||||
$this->tbf = $this->options['files_table'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$this->tbf) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->updateCache($this->options['path'], $this->_stat($this->options['path']));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Set tmp path
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function configure() {
|
||||
parent::configure();
|
||||
|
||||
if (($tmp = $this->options['tmpPath'])) {
|
||||
if (!file_exists($tmp)) {
|
||||
if (@mkdir($tmp)) {
|
||||
@chmod($tmp, $this->options['tmbPathMode']);
|
||||
}
|
||||
}
|
||||
|
||||
$this->tmpPath = is_dir($tmp) && is_writable($tmp) ? $tmp : false;
|
||||
}
|
||||
|
||||
if (!$this->tmpPath && $this->tmbPath && $this->tmbPathWritable) {
|
||||
$this->tmpPath = $this->tmbPath;
|
||||
}
|
||||
|
||||
$this->mimeDetect = 'internal';
|
||||
}
|
||||
|
||||
/**
|
||||
* Close connection
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
public function umount() {
|
||||
$this->db->close();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return debug info for client
|
||||
*
|
||||
* @return array
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
public function debug() {
|
||||
$debug = parent::debug();
|
||||
$debug['sqlCount'] = $this->sqlCnt;
|
||||
if ($this->dbError) {
|
||||
$debug['dbError'] = $this->dbError;
|
||||
}
|
||||
return $debug;
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform sql query and return result.
|
||||
* Increase sqlCnt and save error if occured
|
||||
*
|
||||
* @param string $sql query
|
||||
* @return misc
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function query($sql) {
|
||||
$this->sqlCnt++;
|
||||
$res = $this->db->query($sql);
|
||||
if (!$res) {
|
||||
$this->dbError = $this->db->error;
|
||||
}
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create empty object with required mimetype
|
||||
*
|
||||
* @param string $path parent dir path
|
||||
* @param string $name object name
|
||||
* @param string $mime mime type
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function make($path, $name, $mime) {
|
||||
$sql = 'INSERT INTO %s (`parent_id`, `name`, `size`, `mtime`, `mime`, `content`, `read`, `write`) VALUES ("%s", "%s", 0, %d, "%s", "", "%d", "%d")';
|
||||
$sql = sprintf($sql, $this->tbf, $path, $this->db->real_escape_string($name), time(), $mime, $this->defaults['read'], $this->defaults['write']);
|
||||
// echo $sql;
|
||||
return $this->query($sql) && $this->db->affected_rows > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return temporary file path for required file
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function tmpname($path) {
|
||||
return $this->tmpPath.DIRECTORY_SEPARATOR.md5($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Resize image
|
||||
*
|
||||
* @param string $hash image file
|
||||
* @param int $width new width
|
||||
* @param int $height new height
|
||||
* @param bool $crop crop image
|
||||
* @return array|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
public function resize($hash, $width, $height, $x, $y, $mode = 'resize', $bg = '', $degree = 0) {
|
||||
if ($this->commandDisabled('resize')) {
|
||||
return $this->setError(elFinder::ERROR_PERM_DENIED);
|
||||
}
|
||||
|
||||
if (($file = $this->file($hash)) == false) {
|
||||
return $this->setError(elFinder::ERROR_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
if (!$file['write'] || !$file['read']) {
|
||||
return $this->setError(elFinder::ERROR_PERM_DENIED);
|
||||
}
|
||||
|
||||
$path = $this->decode($hash);
|
||||
|
||||
if (!$this->canResize($path, $file)) {
|
||||
return $this->setError(elFinder::ERROR_UNSUPPORT_TYPE);
|
||||
}
|
||||
|
||||
$img = $this->tmpname($path);
|
||||
|
||||
if (!($fp = @fopen($img, 'w+'))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (($res = $this->query('SELECT content FROM '.$this->tbf.' WHERE id="'.$path.'"'))
|
||||
&& ($r = $res->fetch_assoc())) {
|
||||
fwrite($fp, $r['content']);
|
||||
rewind($fp);
|
||||
fclose($fp);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
switch($mode) {
|
||||
|
||||
case 'propresize':
|
||||
$result = $this->imgResize($img, $width, $height, true, true);
|
||||
break;
|
||||
|
||||
case 'crop':
|
||||
$result = $this->imgCrop($img, $width, $height, $x, $y);
|
||||
break;
|
||||
|
||||
case 'fitsquare':
|
||||
$result = $this->imgSquareFit($img, $width, $height, 'center', 'middle', $bg ? $bg : $this->options['tmbBgColor']);
|
||||
break;
|
||||
|
||||
default:
|
||||
$result = $this->imgResize($img, $width, $height, false, true);
|
||||
break;
|
||||
}
|
||||
|
||||
if ($result) {
|
||||
|
||||
$sql = sprintf('UPDATE %s SET content=LOAD_FILE("%s"), mtime=UNIX_TIMESTAMP() WHERE id=%d', $this->tbf, $this->loadFilePath($img), $path);
|
||||
|
||||
if (!$this->query($sql)) {
|
||||
$content = file_get_contents($img);
|
||||
$sql = sprintf('UPDATE %s SET content="%s", mtime=UNIX_TIMESTAMP() WHERE id=%d', $this->tbf, $this->db->real_escape_string($content), $path);
|
||||
if (!$this->query($sql)) {
|
||||
@unlink($img);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@unlink($img);
|
||||
if (!empty($file['tmb']) && $file['tmb'] != "1") {
|
||||
$this->rmTmb($file['tmb']);
|
||||
}
|
||||
$this->clearcache();
|
||||
return $this->stat($path);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
/* FS API */
|
||||
/*********************************************************************/
|
||||
|
||||
/**
|
||||
* Cache dir contents
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return void
|
||||
* @author Dmitry Levashov
|
||||
**/
|
||||
protected function cacheDir($path) {
|
||||
$this->dirsCache[$path] = array();
|
||||
|
||||
$sql = 'SELECT f.id, f.parent_id, f.name, f.size, f.mtime AS ts, f.mime, f.read, f.write, f.locked, f.hidden, f.width, f.height, IF(ch.id, 1, 0) AS dirs
|
||||
FROM '.$this->tbf.' AS f
|
||||
LEFT JOIN '.$this->tbf.' AS ch ON ch.parent_id=f.id AND ch.mime="directory"
|
||||
WHERE f.parent_id="'.$path.'"
|
||||
GROUP BY f.id';
|
||||
|
||||
$res = $this->query($sql);
|
||||
if ($res) {
|
||||
while ($row = $res->fetch_assoc()) {
|
||||
// debug($row);
|
||||
$id = $row['id'];
|
||||
if ($row['parent_id']) {
|
||||
$row['phash'] = $this->encode($row['parent_id']);
|
||||
}
|
||||
|
||||
if ($row['mime'] == 'directory') {
|
||||
unset($row['width']);
|
||||
unset($row['height']);
|
||||
} else {
|
||||
unset($row['dirs']);
|
||||
}
|
||||
|
||||
unset($row['id']);
|
||||
unset($row['parent_id']);
|
||||
|
||||
|
||||
|
||||
if (($stat = $this->updateCache($id, $row)) && empty($stat['hidden'])) {
|
||||
$this->dirsCache[$path][] = $id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $this->dirsCache[$path];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return array of parents paths (ids)
|
||||
*
|
||||
* @param int $path file path (id)
|
||||
* @return array
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function getParents($path) {
|
||||
$parents = array();
|
||||
|
||||
while ($path) {
|
||||
if ($file = $this->stat($path)) {
|
||||
array_unshift($parents, $path);
|
||||
$path = isset($file['phash']) ? $this->decode($file['phash']) : false;
|
||||
}
|
||||
}
|
||||
|
||||
if (count($parents)) {
|
||||
array_pop($parents);
|
||||
}
|
||||
return $parents;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return correct file path for LOAD_FILE method
|
||||
*
|
||||
* @param string $path file path (id)
|
||||
* @return string
|
||||
* @author Troex Nevelin
|
||||
**/
|
||||
protected function loadFilePath($path) {
|
||||
$realPath = realpath($path);
|
||||
if (DIRECTORY_SEPARATOR == '\\') { // windows
|
||||
$realPath = str_replace('\\', '\\\\', $realPath);
|
||||
}
|
||||
return $this->db->real_escape_string($realPath);
|
||||
}
|
||||
|
||||
/*********************** paths/urls *************************/
|
||||
|
||||
/**
|
||||
* Return parent directory path
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _dirname($path) {
|
||||
return ($stat = $this->stat($path)) ? ($stat['phash'] ? $this->decode($stat['phash']) : $this->root) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return file name
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _basename($path) {
|
||||
return ($stat = $this->stat($path)) ? $stat['name'] : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Join dir name and file name and return full path
|
||||
*
|
||||
* @param string $dir
|
||||
* @param string $name
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _joinPath($dir, $name) {
|
||||
$sql = 'SELECT id FROM '.$this->tbf.' WHERE parent_id="'.$dir.'" AND name="'.$this->db->real_escape_string($name).'"';
|
||||
|
||||
if (($res = $this->query($sql)) && ($r = $res->fetch_assoc())) {
|
||||
$this->updateCache($r['id'], $this->_stat($r['id']));
|
||||
return $r['id'];
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return normalized path, this works the same as os.path.normpath() in Python
|
||||
*
|
||||
* @param string $path path
|
||||
* @return string
|
||||
* @author Troex Nevelin
|
||||
**/
|
||||
protected function _normpath($path) {
|
||||
return $path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return file path related to root dir
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _relpath($path) {
|
||||
return $path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert path related to root dir into real path
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _abspath($path) {
|
||||
return $path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return fake path started from root dir
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _path($path) {
|
||||
if (($file = $this->stat($path)) == false) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$parentsIds = $this->getParents($path);
|
||||
$path = '';
|
||||
foreach ($parentsIds as $id) {
|
||||
$dir = $this->stat($id);
|
||||
$path .= $dir['name'].$this->separator;
|
||||
}
|
||||
return $path.$file['name'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if $path is children of $parent
|
||||
*
|
||||
* @param string $path path to check
|
||||
* @param string $parent parent path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _inpath($path, $parent) {
|
||||
return $path == $parent
|
||||
? true
|
||||
: in_array($parent, $this->getParents($path));
|
||||
}
|
||||
|
||||
/***************** file stat ********************/
|
||||
/**
|
||||
* Return stat for given path.
|
||||
* Stat contains following fields:
|
||||
* - (int) size file size in b. required
|
||||
* - (int) ts file modification time in unix time. required
|
||||
* - (string) mime mimetype. required for folders, others - optionally
|
||||
* - (bool) read read permissions. required
|
||||
* - (bool) write write permissions. required
|
||||
* - (bool) locked is object locked. optionally
|
||||
* - (bool) hidden is object hidden. optionally
|
||||
* - (string) alias for symlinks - link target path relative to root path. optionally
|
||||
* - (string) target for symlinks - link target path. optionally
|
||||
*
|
||||
* If file does not exists - returns empty array or false.
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return array|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _stat($path) {
|
||||
$sql = 'SELECT f.id, f.parent_id, f.name, f.size, f.mtime AS ts, f.mime, f.read, f.write, f.locked, f.hidden, f.width, f.height, IF(ch.id, 1, 0) AS dirs
|
||||
FROM '.$this->tbf.' AS f
|
||||
LEFT JOIN '.$this->tbf.' AS p ON p.id=f.parent_id
|
||||
LEFT JOIN '.$this->tbf.' AS ch ON ch.parent_id=f.id AND ch.mime="directory"
|
||||
WHERE f.id="'.$path.'"
|
||||
GROUP BY f.id';
|
||||
|
||||
$res = $this->query($sql);
|
||||
|
||||
if ($res) {
|
||||
$stat = $res->fetch_assoc();
|
||||
if ($stat['parent_id']) {
|
||||
$stat['phash'] = $this->encode($stat['parent_id']);
|
||||
}
|
||||
if ($stat['mime'] == 'directory') {
|
||||
unset($stat['width']);
|
||||
unset($stat['height']);
|
||||
} else {
|
||||
unset($stat['dirs']);
|
||||
}
|
||||
unset($stat['id']);
|
||||
unset($stat['parent_id']);
|
||||
return $stat;
|
||||
|
||||
}
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if path is dir and has at least one childs directory
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _subdirs($path) {
|
||||
return ($stat = $this->stat($path)) && isset($stat['dirs']) ? $stat['dirs'] : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return object width and height
|
||||
* Usualy used for images, but can be realize for video etc...
|
||||
*
|
||||
* @param string $path file path
|
||||
* @param string $mime file mime type
|
||||
* @return string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _dimensions($path, $mime) {
|
||||
return ($stat = $this->stat($path)) && isset($stat['width']) && isset($stat['height']) ? $stat['width'].'x'.$stat['height'] : '';
|
||||
}
|
||||
|
||||
/******************** file/dir content *********************/
|
||||
|
||||
/**
|
||||
* Return files list in directory.
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return array
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _scandir($path) {
|
||||
return isset($this->dirsCache[$path])
|
||||
? $this->dirsCache[$path]
|
||||
: $this->cacheDir($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Open file and return file pointer
|
||||
*
|
||||
* @param string $path file path
|
||||
* @param string $mode open file mode (ignored in this driver)
|
||||
* @return resource|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _fopen($path, $mode='rb') {
|
||||
$fp = $this->tmbPath
|
||||
? @fopen($this->tmpname($path), 'w+')
|
||||
: @tmpfile();
|
||||
|
||||
|
||||
if ($fp) {
|
||||
if (($res = $this->query('SELECT content FROM '.$this->tbf.' WHERE id="'.$path.'"'))
|
||||
&& ($r = $res->fetch_assoc())) {
|
||||
fwrite($fp, $r['content']);
|
||||
rewind($fp);
|
||||
return $fp;
|
||||
} else {
|
||||
$this->_fclose($fp, $path);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Close opened file
|
||||
*
|
||||
* @param resource $fp file pointer
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _fclose($fp, $path='') {
|
||||
@fclose($fp);
|
||||
if ($path) {
|
||||
@unlink($this->tmpname($path));
|
||||
}
|
||||
}
|
||||
|
||||
/******************** file/dir manipulations *************************/
|
||||
|
||||
/**
|
||||
* Create dir and return created dir path or false on failed
|
||||
*
|
||||
* @param string $path parent dir path
|
||||
* @param string $name new directory name
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _mkdir($path, $name) {
|
||||
return $this->make($path, $name, 'directory') ? $this->_joinPath($path, $name) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create file and return it's path or false on failed
|
||||
*
|
||||
* @param string $path parent dir path
|
||||
* @param string $name new file name
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _mkfile($path, $name) {
|
||||
return $this->make($path, $name, 'text/plain') ? $this->_joinPath($path, $name) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create symlink. FTP driver does not support symlinks.
|
||||
*
|
||||
* @param string $target link target
|
||||
* @param string $path symlink path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _symlink($target, $path, $name) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy file into another file
|
||||
*
|
||||
* @param string $source source file path
|
||||
* @param string $targetDir target directory path
|
||||
* @param string $name new file name
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _copy($source, $targetDir, $name) {
|
||||
$this->clearcache();
|
||||
$id = $this->_joinPath($targetDir, $name);
|
||||
|
||||
$sql = $id > 0
|
||||
? sprintf('REPLACE INTO %s (id, parent_id, name, content, size, mtime, mime, width, height, `read`, `write`, `locked`, `hidden`) (SELECT %d, %d, name, content, size, mtime, mime, width, height, `read`, `write`, `locked`, `hidden` FROM %s WHERE id=%d)', $this->tbf, $id, $this->_dirname($id), $this->tbf, $source)
|
||||
: sprintf('INSERT INTO %s (parent_id, name, content, size, mtime, mime, width, height, `read`, `write`, `locked`, `hidden`) SELECT %d, "%s", content, size, %d, mime, width, height, `read`, `write`, `locked`, `hidden` FROM %s WHERE id=%d', $this->tbf, $targetDir, $this->db->real_escape_string($name), time(), $this->tbf, $source);
|
||||
|
||||
return $this->query($sql);
|
||||
}
|
||||
|
||||
/**
|
||||
* Move file into another parent dir.
|
||||
* Return new file path or false.
|
||||
*
|
||||
* @param string $source source file path
|
||||
* @param string $target target dir path
|
||||
* @param string $name file name
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _move($source, $targetDir, $name) {
|
||||
$sql = 'UPDATE %s SET parent_id=%d, name="%s" WHERE id=%d LIMIT 1';
|
||||
$sql = sprintf($sql, $this->tbf, $targetDir, $this->db->real_escape_string($name), $source);
|
||||
return $this->query($sql) && $this->db->affected_rows > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove file
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _unlink($path) {
|
||||
return $this->query(sprintf('DELETE FROM %s WHERE id=%d AND mime!="directory" LIMIT 1', $this->tbf, $path)) && $this->db->affected_rows;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove dir
|
||||
*
|
||||
* @param string $path dir path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _rmdir($path) {
|
||||
return $this->query(sprintf('DELETE FROM %s WHERE id=%d AND mime="directory" LIMIT 1', $this->tbf, $path)) && $this->db->affected_rows;
|
||||
}
|
||||
|
||||
/**
|
||||
* undocumented function
|
||||
*
|
||||
* @return void
|
||||
* @author Dmitry Levashov
|
||||
**/
|
||||
protected function _setContent($path, $fp) {
|
||||
rewind($fp);
|
||||
$fstat = fstat($fp);
|
||||
$size = $fstat['size'];
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Create new file and write into it from file pointer.
|
||||
* Return new file path or false on error.
|
||||
*
|
||||
* @param resource $fp file pointer
|
||||
* @param string $dir target dir path
|
||||
* @param string $name file name
|
||||
* @return bool|string
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _save($fp, $dir, $name, $mime, $w, $h) {
|
||||
$this->clearcache();
|
||||
|
||||
$id = $this->_joinPath($dir, $name);
|
||||
rewind($fp);
|
||||
$stat = fstat($fp);
|
||||
$size = $stat['size'];
|
||||
|
||||
if (($tmpfile = tempnam($this->tmpPath, $this->id))) {
|
||||
if (($trgfp = fopen($tmpfile, 'wb')) == false) {
|
||||
unlink($tmpfile);
|
||||
} else {
|
||||
while (!feof($fp)) {
|
||||
fwrite($trgfp, fread($fp, 8192));
|
||||
}
|
||||
fclose($trgfp);
|
||||
|
||||
$sql = $id > 0
|
||||
? 'REPLACE INTO %s (id, parent_id, name, content, size, mtime, mime, width, height) VALUES ('.$id.', %d, "%s", LOAD_FILE("%s"), %d, %d, "%s", %d, %d)'
|
||||
: 'INSERT INTO %s (parent_id, name, content, size, mtime, mime, width, height) VALUES (%d, "%s", LOAD_FILE("%s"), %d, %d, "%s", %d, %d)';
|
||||
$sql = sprintf($sql, $this->tbf, $dir, $this->db->real_escape_string($name), $this->loadFilePath($tmpfile), $size, time(), $mime, $w, $h);
|
||||
|
||||
$res = $this->query($sql);
|
||||
unlink($tmpfile);
|
||||
|
||||
if ($res) {
|
||||
return $id > 0 ? $id : $this->db->insert_id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$content = '';
|
||||
rewind($fp);
|
||||
while (!feof($fp)) {
|
||||
$content .= fread($fp, 8192);
|
||||
}
|
||||
|
||||
$sql = $id > 0
|
||||
? 'REPLACE INTO %s (id, parent_id, name, content, size, mtime, mime, width, height) VALUES ('.$id.', %d, "%s", "%s", %d, %d, "%s", %d, %d)'
|
||||
: 'INSERT INTO %s (parent_id, name, content, size, mtime, mime, width, height) VALUES (%d, "%s", "%s", %d, %d, "%s", %d, %d)';
|
||||
$sql = sprintf($sql, $this->tbf, $dir, $this->db->real_escape_string($name), $this->db->real_escape_string($content), $size, time(), $mime, $w, $h);
|
||||
|
||||
unset($content);
|
||||
|
||||
if ($this->query($sql)) {
|
||||
return $id > 0 ? $id : $this->db->insert_id;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get file contents
|
||||
*
|
||||
* @param string $path file path
|
||||
* @return string|false
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _getContents($path) {
|
||||
return ($res = $this->query(sprintf('SELECT content FROM %s WHERE id=%d', $this->tbf, $path))) && ($r = $res->fetch_assoc()) ? $r['content'] : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Write a string to a file
|
||||
*
|
||||
* @param string $path file path
|
||||
* @param string $content new file content
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _filePutContents($path, $content) {
|
||||
return $this->query(sprintf('UPDATE %s SET content="%s", size=%d, mtime=%d WHERE id=%d LIMIT 1', $this->tbf, $this->db->real_escape_string($content), strlen($content), time(), $path));
|
||||
}
|
||||
|
||||
/**
|
||||
* Detect available archivers
|
||||
*
|
||||
* @return void
|
||||
**/
|
||||
protected function _checkArchivers() {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unpack archive
|
||||
*
|
||||
* @param string $path archive path
|
||||
* @param array $arc archiver command and arguments (same as in $this->archivers)
|
||||
* @return void
|
||||
* @author Dmitry (dio) Levashov
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
protected function _unpack($path, $arc) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Recursive symlinks search
|
||||
*
|
||||
* @param string $path file/dir path
|
||||
* @return bool
|
||||
* @author Dmitry (dio) Levashov
|
||||
**/
|
||||
protected function _findSymlinks($path) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract files from archive
|
||||
*
|
||||
* @param string $path archive path
|
||||
* @param array $arc archiver command and arguments (same as in $this->archivers)
|
||||
* @return true
|
||||
* @author Dmitry (dio) Levashov,
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
protected function _extract($path, $arc) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create archive and return its path
|
||||
*
|
||||
* @param string $dir target dir
|
||||
* @param array $files files names list
|
||||
* @param string $name archive name
|
||||
* @param array $arc archiver options
|
||||
* @return string|bool
|
||||
* @author Dmitry (dio) Levashov,
|
||||
* @author Alexey Sukhotin
|
||||
**/
|
||||
protected function _archive($dir, $files, $name, $arc) {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // END class
|
||||
512
simpla/design/js/elfinder/php/mime.types
Normal file
@@ -0,0 +1,512 @@
|
||||
# This file controls what Internet media types are sent to the client for
|
||||
# given file extension(s). Sending the correct media type to the client
|
||||
# is important so they know how to handle the content of the file.
|
||||
# For more information about Internet media types, please read
|
||||
# RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
|
||||
# registry is at <ftp://ftp.iana.org/assignments/media-types/>.
|
||||
|
||||
# MIME type Extension
|
||||
application/andrew-inset ez
|
||||
application/chemtool cht
|
||||
application/dicom dcm
|
||||
application/docbook+xml docbook
|
||||
application/ecmascript ecma
|
||||
application/flash-video flv
|
||||
application/illustrator ai
|
||||
application/javascript js
|
||||
application/mac-binhex40
|
||||
application/mathematica nb
|
||||
application/msword doc
|
||||
application/octet-stream bin
|
||||
application/oda oda
|
||||
application/ogg ogg
|
||||
application/pdf pdf
|
||||
application/pgp pgp
|
||||
application/pgp-encrypted
|
||||
application/pgp-encrypted pgp gpg
|
||||
application/pgp-keys
|
||||
application/pgp-keys skr pkr
|
||||
application/pgp-signature
|
||||
application/pgp-signature sig
|
||||
application/pkcs7-mime
|
||||
application/pkcs7-signature p7s
|
||||
application/postscript ps
|
||||
application/rtf rtf
|
||||
application/sdp sdp
|
||||
application/smil smil smi sml
|
||||
application/stuffit sit
|
||||
application/vnd.corel-draw cdr
|
||||
application/vnd.hp-hpgl hpgl
|
||||
application/vnd.hp-pcl pcl
|
||||
application/vnd.lotus-1-2-3 123 wk1 wk3 wk4 wks
|
||||
application/vnd.mozilla.xul+xml xul
|
||||
application/vnd.ms-excel xls xlc xll xlm xlw xla xlt xld
|
||||
application/vnd.ms-powerpoint ppz ppt pps pot
|
||||
application/vnd.oasis.opendocument.chart odc
|
||||
application/vnd.oasis.opendocument.database odb
|
||||
application/vnd.oasis.opendocument.formula odf
|
||||
application/vnd.oasis.opendocument.graphics odg
|
||||
application/vnd.oasis.opendocument.graphics-template otg
|
||||
application/vnd.oasis.opendocument.image odi
|
||||
application/vnd.oasis.opendocument.presentation odp
|
||||
application/vnd.oasis.opendocument.presentation-template otp
|
||||
application/vnd.oasis.opendocument.spreadsheet ods
|
||||
application/vnd.oasis.opendocument.spreadsheet-template ots
|
||||
application/vnd.oasis.opendocument.text odt
|
||||
application/vnd.oasis.opendocument.text-master odm
|
||||
application/vnd.oasis.opendocument.text-template ott
|
||||
application/vnd.oasis.opendocument.text-web oth
|
||||
application/vnd.palm pdb
|
||||
application/vnd.rn-realmedia
|
||||
application/vnd.rn-realmedia rm
|
||||
application/vnd.rn-realmedia-secure rms
|
||||
application/vnd.rn-realmedia-vbr rmvb
|
||||
application/vnd.stardivision.calc sdc
|
||||
application/vnd.stardivision.chart sds
|
||||
application/vnd.stardivision.draw sda
|
||||
application/vnd.stardivision.impress sdd sdp
|
||||
application/vnd.stardivision.mail smd
|
||||
application/vnd.stardivision.math smf
|
||||
application/vnd.stardivision.writer sdw vor sgl
|
||||
application/vnd.sun.xml.calc sxc
|
||||
application/vnd.sun.xml.calc.template stc
|
||||
application/vnd.sun.xml.draw sxd
|
||||
application/vnd.sun.xml.draw.template std
|
||||
application/vnd.sun.xml.impress sxi
|
||||
application/vnd.sun.xml.impress.template sti
|
||||
application/vnd.sun.xml.math sxm
|
||||
application/vnd.sun.xml.writer sxw
|
||||
application/vnd.sun.xml.writer.global sxg
|
||||
application/vnd.sun.xml.writer.template stw
|
||||
application/vnd.wordperfect wpd
|
||||
application/x-abiword abw abw.CRASHED abw.gz zabw
|
||||
application/x-amipro sam
|
||||
application/x-anjuta-project prj
|
||||
application/x-applix-spreadsheet as
|
||||
application/x-applix-word aw
|
||||
application/x-arc
|
||||
application/x-archive a
|
||||
application/x-arj arj
|
||||
application/x-asax asax
|
||||
application/x-ascx ascx
|
||||
application/x-ashx ashx
|
||||
application/x-asix asix
|
||||
application/x-asmx asmx
|
||||
application/x-asp asp
|
||||
application/x-awk
|
||||
application/x-axd axd
|
||||
application/x-bcpio bcpio
|
||||
application/x-bittorrent torrent
|
||||
application/x-blender blender blend BLEND
|
||||
application/x-bzip bz bz2
|
||||
application/x-bzip bz2 bz
|
||||
application/x-bzip-compressed-tar tar.bz tar.bz2
|
||||
application/x-bzip-compressed-tar tar.bz tar.bz2 tbz tbz2
|
||||
application/x-cd-image iso
|
||||
application/x-cgi cgi
|
||||
application/x-chess-pgn pgn
|
||||
application/x-chm chm
|
||||
application/x-class-file
|
||||
application/x-cmbx cmbx
|
||||
application/x-compress Z
|
||||
application/x-compressed-tar tar.gz tar.Z tgz taz
|
||||
application/x-compressed-tar tar.gz tgz
|
||||
application/x-config config
|
||||
application/x-core
|
||||
application/x-cpio cpio
|
||||
application/x-cpio-compressed cpio.gz
|
||||
application/x-csh csh
|
||||
application/x-cue cue
|
||||
application/x-dbase dbf
|
||||
application/x-dbm
|
||||
application/x-dc-rom dc
|
||||
application/x-deb deb
|
||||
application/x-designer ui
|
||||
application/x-desktop desktop kdelnk
|
||||
application/x-devhelp devhelp
|
||||
application/x-dia-diagram dia
|
||||
application/x-disco disco
|
||||
application/x-dvi dvi
|
||||
application/x-e-theme etheme
|
||||
application/x-egon egon
|
||||
application/x-executable exe
|
||||
application/x-font-afm afm
|
||||
application/x-font-bdf bdf
|
||||
application/x-font-dos
|
||||
application/x-font-framemaker
|
||||
application/x-font-libgrx
|
||||
application/x-font-linux-psf psf
|
||||
application/x-font-otf
|
||||
application/x-font-pcf pcf
|
||||
application/x-font-pcf pcf.gz
|
||||
application/x-font-speedo spd
|
||||
application/x-font-sunos-news
|
||||
application/x-font-tex
|
||||
application/x-font-tex-tfm
|
||||
application/x-font-ttf ttc TTC
|
||||
application/x-font-ttf ttf
|
||||
application/x-font-type1 pfa pfb gsf pcf.Z
|
||||
application/x-font-vfont
|
||||
application/x-frame
|
||||
application/x-frontline aop
|
||||
application/x-gameboy-rom gb
|
||||
application/x-gdbm
|
||||
application/x-gdesklets-display display
|
||||
application/x-genesis-rom gen md
|
||||
application/x-gettext-translation gmo
|
||||
application/x-glabels glabels
|
||||
application/x-glade glade
|
||||
application/x-gmc-link
|
||||
application/x-gnome-db-connection connection
|
||||
application/x-gnome-db-database database
|
||||
application/x-gnome-stones caves
|
||||
application/x-gnucash gnucash gnc xac
|
||||
application/x-gnumeric gnumeric
|
||||
application/x-graphite gra
|
||||
application/x-gtar gtar
|
||||
application/x-gtktalog
|
||||
application/x-gzip gz
|
||||
application/x-gzpostscript ps.gz
|
||||
application/x-hdf hdf
|
||||
application/x-ica ica
|
||||
application/x-ipod-firmware
|
||||
application/x-jamin jam
|
||||
application/x-jar jar
|
||||
application/x-java class
|
||||
application/x-java-archive jar ear war
|
||||
|
||||
application/x-jbuilder-project jpr jpx
|
||||
application/x-karbon karbon
|
||||
application/x-kchart chrt
|
||||
application/x-kformula kfo
|
||||
application/x-killustrator kil
|
||||
application/x-kivio flw
|
||||
application/x-kontour kon
|
||||
application/x-kpovmodeler kpm
|
||||
application/x-kpresenter kpr kpt
|
||||
application/x-krita kra
|
||||
application/x-kspread ksp
|
||||
application/x-kspread-crypt
|
||||
application/x-ksysv-package
|
||||
application/x-kugar kud
|
||||
application/x-kword kwd kwt
|
||||
application/x-kword-crypt
|
||||
application/x-lha lha lzh
|
||||
application/x-lha lzh
|
||||
application/x-lhz lhz
|
||||
application/x-linguist ts
|
||||
application/x-lyx lyx
|
||||
application/x-lzop lzo
|
||||
application/x-lzop-compressed-tar tar.lzo tzo
|
||||
application/x-macbinary
|
||||
application/x-machine-config
|
||||
application/x-magicpoint mgp
|
||||
application/x-master-page master
|
||||
application/x-matroska mkv
|
||||
application/x-mdp mdp
|
||||
application/x-mds mds
|
||||
application/x-mdsx mdsx
|
||||
application/x-mergeant mergeant
|
||||
application/x-mif mif
|
||||
application/x-mozilla-bookmarks
|
||||
application/x-mps mps
|
||||
application/x-ms-dos-executable exe
|
||||
application/x-mswinurl
|
||||
application/x-mswrite wri
|
||||
application/x-msx-rom msx
|
||||
application/x-n64-rom n64
|
||||
application/x-nautilus-link
|
||||
application/x-nes-rom nes
|
||||
application/x-netcdf cdf nc
|
||||
application/x-netscape-bookmarks
|
||||
application/x-object o
|
||||
application/x-ole-storage
|
||||
application/x-oleo oleo
|
||||
application/x-palm-database
|
||||
application/x-palm-database pdb prc
|
||||
application/x-par2 PAR2 par2
|
||||
application/x-pef-executable
|
||||
application/x-perl pl pm al perl
|
||||
application/x-php php php3 php4
|
||||
application/x-pkcs12 p12 pfx
|
||||
application/x-planner planner mrproject
|
||||
application/x-planperfect pln
|
||||
application/x-prjx prjx
|
||||
application/x-profile
|
||||
application/x-ptoptimizer-script pto
|
||||
application/x-pw pw
|
||||
application/x-python-bytecode pyc pyo
|
||||
application/x-quattro-pro wb1 wb2 wb3
|
||||
application/x-quattropro wb1 wb2 wb3
|
||||
application/x-qw qif
|
||||
application/x-rar rar
|
||||
application/x-rar-compressed rar
|
||||
application/x-rdp rdp
|
||||
application/x-reject rej
|
||||
application/x-remoting rem
|
||||
application/x-resources resources
|
||||
application/x-resourcesx resx
|
||||
application/x-rpm rpm
|
||||
application/x-ruby
|
||||
application/x-sc
|
||||
application/x-sc sc
|
||||
application/x-scribus sla sla.gz scd scd.gz
|
||||
application/x-shar shar
|
||||
application/x-shared-library-la la
|
||||
application/x-sharedlib so
|
||||
application/x-shellscript sh
|
||||
application/x-shockwave-flash swf
|
||||
application/x-siag siag
|
||||
application/x-slp
|
||||
application/x-smil kino
|
||||
application/x-smil smi smil
|
||||
application/x-sms-rom sms gg
|
||||
application/x-soap-remoting soap
|
||||
application/x-streamingmedia ssm
|
||||
application/x-stuffit
|
||||
application/x-stuffit bin sit
|
||||
application/x-sv4cpio sv4cpio
|
||||
application/x-sv4crc sv4crc
|
||||
application/x-tar tar
|
||||
application/x-tarz tar.Z
|
||||
application/x-tex-gf gf
|
||||
application/x-tex-pk k
|
||||
application/x-tgif obj
|
||||
application/x-theme theme
|
||||
application/x-toc toc
|
||||
application/x-toutdoux
|
||||
application/x-trash bak old sik
|
||||
application/x-troff tr roff t
|
||||
application/x-troff-man man
|
||||
application/x-troff-man-compressed
|
||||
application/x-tzo tar.lzo tzo
|
||||
application/x-ustar ustar
|
||||
application/x-wais-source src
|
||||
application/x-web-config
|
||||
application/x-wpg wpg
|
||||
application/x-wsdl wsdl
|
||||
application/x-x509-ca-cert der cer crt cert pem
|
||||
application/x-xbel xbel
|
||||
application/x-zerosize
|
||||
application/x-zoo zoo
|
||||
application/xhtml+xml xhtml
|
||||
application/zip zip
|
||||
audio/ac3 ac3
|
||||
audio/basic au snd
|
||||
audio/midi mid midi
|
||||
audio/mpeg mp3
|
||||
audio/prs.sid sid psid
|
||||
audio/vnd.rn-realaudio ra
|
||||
audio/x-aac aac
|
||||
audio/x-adpcm
|
||||
audio/x-aifc
|
||||
audio/x-aiff aif aiff
|
||||
audio/x-aiff aiff aif aifc
|
||||
audio/x-aiffc
|
||||
audio/x-flac flac
|
||||
audio/x-m4a m4a
|
||||
audio/x-mod mod ult uni XM m15 mtm 669
|
||||
audio/x-mp3-playlist
|
||||
audio/x-mpeg
|
||||
audio/x-mpegurl m3u
|
||||
audio/x-ms-asx
|
||||
audio/x-pn-realaudio ra ram rm
|
||||
audio/x-pn-realaudio ram rmm
|
||||
audio/x-riff
|
||||
audio/x-s3m s3m
|
||||
audio/x-scpls pls
|
||||
audio/x-scpls pls xpl
|
||||
audio/x-stm stm
|
||||
audio/x-voc voc
|
||||
audio/x-wav wav
|
||||
audio/x-xi xi
|
||||
audio/x-xm xm
|
||||
image/bmp bmp
|
||||
image/cgm cgm
|
||||
image/dpx
|
||||
image/fax-g3 g3
|
||||
image/g3fax
|
||||
image/gif gif
|
||||
image/ief ief
|
||||
image/jpeg jpeg jpg jpe
|
||||
image/jpeg2000 jp2
|
||||
image/png png
|
||||
image/rle rle
|
||||
image/svg+xml svg
|
||||
image/tiff tif tiff
|
||||
image/vnd.djvu djvu djv
|
||||
image/vnd.dwg dwg
|
||||
image/vnd.dxf dxf
|
||||
image/x-3ds 3ds
|
||||
image/x-applix-graphics ag
|
||||
image/x-cmu-raster ras
|
||||
image/x-compressed-xcf xcf.gz xcf.bz2
|
||||
image/x-dcraw bay BAY bmq BMQ cr2 CR2 crw CRW cs1 CS1 dc2 DC2 dcr DCR fff FFF k25 K25 kdc KDC mos MOS mrw MRW nef NEF orf ORF pef PEF raf RAF rdc RDC srf SRF x3f X3F
|
||||
image/x-dib
|
||||
image/x-eps eps epsi epsf
|
||||
image/x-fits fits
|
||||
image/x-fpx
|
||||
image/x-icb icb
|
||||
image/x-ico ico
|
||||
image/x-iff iff
|
||||
image/x-ilbm ilbm
|
||||
image/x-jng jng
|
||||
image/x-lwo lwo lwob
|
||||
image/x-lws lws
|
||||
image/x-msod msod
|
||||
image/x-niff
|
||||
image/x-pcx
|
||||
image/x-photo-cd pcd
|
||||
image/x-pict pict pict1 pict2
|
||||
image/x-portable-anymap pnm
|
||||
image/x-portable-bitmap pbm
|
||||
image/x-portable-graymap pgm
|
||||
image/x-portable-pixmap ppm
|
||||
image/x-psd psd
|
||||
image/x-rgb rgb
|
||||
image/x-sgi sgi
|
||||
image/x-sun-raster sun
|
||||
image/x-tga tga
|
||||
image/x-win-bitmap cur
|
||||
image/x-wmf wmf
|
||||
image/x-xbitmap xbm
|
||||
image/x-xcf xcf
|
||||
image/x-xfig fig
|
||||
image/x-xpixmap xpm
|
||||
image/x-xwindowdump xwd
|
||||
inode/blockdevice
|
||||
inode/chardevice
|
||||
inode/directory
|
||||
inode/fifo
|
||||
inode/mount-point
|
||||
inode/socket
|
||||
inode/symlink
|
||||
message/delivery-status
|
||||
message/disposition-notification
|
||||
message/external-body
|
||||
message/news
|
||||
message/partial
|
||||
message/rfc822
|
||||
message/x-gnu-rmail
|
||||
model/vrml wrl
|
||||
multipart/alternative
|
||||
multipart/appledouble
|
||||
multipart/digest
|
||||
multipart/encrypted
|
||||
multipart/mixed
|
||||
multipart/related
|
||||
multipart/report
|
||||
multipart/signed
|
||||
multipart/x-mixed-replace
|
||||
text/calendar vcs ics
|
||||
text/css css CSSL
|
||||
text/directory vcf vct gcrd
|
||||
text/enriched
|
||||
text/html html htm
|
||||
text/htmlh
|
||||
text/mathml mml
|
||||
text/plain txt asc
|
||||
text/rdf rdf
|
||||
text/rfc822-headers
|
||||
text/richtext rtx
|
||||
text/rss rss
|
||||
text/sgml sgml sgm
|
||||
text/spreadsheet sylk slk
|
||||
text/tab-separated-values tsv
|
||||
text/vnd.rn-realtext rt
|
||||
text/vnd.wap.wml wml
|
||||
text/x-adasrc adb ads
|
||||
text/x-authors
|
||||
text/x-bibtex bib
|
||||
text/x-boo boo
|
||||
text/x-c++hdr hh
|
||||
text/x-c++src cpp cxx cc C c++
|
||||
text/x-chdr h h++ hp
|
||||
text/x-comma-separated-values csv
|
||||
text/x-copying
|
||||
text/x-credits
|
||||
text/x-csrc c
|
||||
text/x-dcl dcl
|
||||
text/x-dsl dsl
|
||||
text/x-dsrc d
|
||||
text/x-dtd dtd
|
||||
text/x-emacs-lisp el
|
||||
text/x-fortran f
|
||||
text/x-gettext-translation po
|
||||
text/x-gettext-translation-template pot
|
||||
text/x-gtkrc
|
||||
text/x-haskell hs
|
||||
text/x-idl idl
|
||||
text/x-install
|
||||
text/x-java java
|
||||
text/x-js js
|
||||
text/x-ksysv-log
|
||||
text/x-literate-haskell lhs
|
||||
text/x-log log
|
||||
text/x-makefile
|
||||
text/x-moc moc
|
||||
text/x-msil il
|
||||
text/x-nemerle n
|
||||
text/x-objcsrc m
|
||||
text/x-pascal p pas
|
||||
text/x-patch diff patch
|
||||
text/x-python py
|
||||
text/x-readme
|
||||
text/x-rng rng
|
||||
text/x-scheme scm
|
||||
text/x-setext etx
|
||||
text/x-speech
|
||||
text/x-sql sql
|
||||
text/x-suse-ymp ymp
|
||||
text/x-suse-ymu ymu
|
||||
text/x-tcl tcl tk
|
||||
text/x-tex tex ltx sty cls
|
||||
text/x-texinfo texi texinfo
|
||||
text/x-texmacs tm ts
|
||||
text/x-troff-me me
|
||||
text/x-troff-mm mm
|
||||
text/x-troff-ms ms
|
||||
text/x-uil uil
|
||||
text/x-uri uri url
|
||||
text/x-vb vb
|
||||
text/x-xds xds
|
||||
text/x-xmi xmi
|
||||
text/x-xsl xsl
|
||||
text/x-xslfo fo xslfo
|
||||
text/x-xslt xslt xsl
|
||||
text/xmcd
|
||||
text/xml xml
|
||||
video/3gpp 3gp
|
||||
video/dv dv dif
|
||||
video/isivideo
|
||||
video/mpeg mpeg mpg mp2 mpe vob dat
|
||||
video/quicktime qt mov moov qtvr
|
||||
video/vivo
|
||||
video/vnd.rn-realvideo rv
|
||||
video/wavelet
|
||||
video/x-3gpp2 3g2
|
||||
video/x-anim anim[1-9j]
|
||||
video/x-avi
|
||||
video/x-flic fli flc
|
||||
video/x-mng mng
|
||||
video/x-ms-asf asf asx
|
||||
video/x-ms-wmv wmv
|
||||
video/x-msvideo avi
|
||||
video/x-nsv nsv NSV
|
||||
video/x-real-video
|
||||
video/x-sgi-movie movie
|
||||
application/x-java-jnlp-file jnlp
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
|
||||
application/vnd.ms-word.document.macroEnabled.12 docm
|
||||
application/vnd.ms-word.template.macroEnabled.12 dotm
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
|
||||
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
|
||||
application/vnd.ms-excel.template.macroEnabled.12 xltm
|
||||
application/vnd.ms-excel.addin.macroEnabled.12 xlam
|
||||
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
|
||||
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
|
||||
application/vnd.openxmlformats-officedocument.presentationml.template potx
|
||||
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
|
||||
application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
|
||||
115
simpla/design/js/elfinder/src/Makefile
Normal file
@@ -0,0 +1,115 @@
|
||||
# build relese
|
||||
# author: Troex Nevelin <troex@fury.scancode.ru>
|
||||
|
||||
Q= @
|
||||
CAT= cat
|
||||
RM= rm
|
||||
CP= cp
|
||||
SRC= .
|
||||
DST= ..
|
||||
CSS= ${DST}/css
|
||||
JS= ${DST}/js
|
||||
I18N= ${DST}/js/i18n
|
||||
CONN= ${DST}/connectors
|
||||
IMG= ${DST}/images
|
||||
|
||||
# used as ${COMPRESSOR} OUT IN
|
||||
COMPRESSOR= java -jar ../../../_old/yuicompressor-2.4.6/build/yuicompressor-2.4.6.jar \
|
||||
--charset utf8 -o
|
||||
|
||||
PHONY: help
|
||||
all: elfinder elfinder-install
|
||||
clean: clean-elfinder
|
||||
install: elfinder-install
|
||||
uninstall: elfinder-uninstall connectors-uninstall
|
||||
distclean: uninstall clean
|
||||
|
||||
help:
|
||||
@echo 'Makefile for release build automation'
|
||||
@echo ' Packages:'
|
||||
@echo ' elfinder - elFinder file manager for web'
|
||||
@echo ''
|
||||
@echo ' MAKE targets:'
|
||||
@echo ' all - build and install all packages'
|
||||
@echo ' help - show this message'
|
||||
@echo ' install - install all packages, will auto build'
|
||||
@echo ' uninstall - remove all generated files from DST (${DST})'
|
||||
@echo ' clean - remove generated files from SRC (${SRC})'
|
||||
@echo ' distclean - preform uninstall and clean'
|
||||
@echo ''
|
||||
@echo ' Individual package targets are possible. To build single package replace PACKAGE'
|
||||
@echo ' with name from "Packages" section:'
|
||||
@echo ' PACKAGE'
|
||||
@echo ' PACKAGE-install'
|
||||
@echo ' PACKAGE-unstall'
|
||||
@echo ' clean-PACKAGE'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# define objects
|
||||
|
||||
# elFinder
|
||||
elfinder_css= elfinder.css
|
||||
elfinder_css_obj= ${SRC}/css/elfinder.css
|
||||
|
||||
elfinder_js= elfinder.full.js
|
||||
elfinder_js_min= elfinder.min.js
|
||||
elfinder_js_obj= ${SRC}/js/elFinder.js \
|
||||
${SRC}/js/elFinder.view.js \
|
||||
${SRC}/js/elFinder.ui.js \
|
||||
${SRC}/js/elFinder.quickLook.js \
|
||||
${SRC}/js/elFinder.eventsManager.js
|
||||
|
||||
|
||||
# elFinder
|
||||
elfinder: ${elfinder_css} ${elfinder_js}
|
||||
|
||||
elfinder-install: elfinder connectors-install
|
||||
${CP} ${elfinder_css} ${CSS}/
|
||||
${CP} ${elfinder_js} ${JS}/
|
||||
${CP} ${SRC}/js/i18n/elfinder.??.js ${I18N}/
|
||||
${CP} ${SRC}/images/* ${IMG}/
|
||||
|
||||
${elfinder_css}:
|
||||
${CAT} ${elfinder_css_obj} > $@
|
||||
|
||||
${elfinder_js}:
|
||||
${CAT} ${elfinder_js_obj} > $@
|
||||
|
||||
elfinder-uninstall:
|
||||
${RM} -f ${CSS}/${elfinder_css} ${JS}/${elfinder_js} ${JS}/${elfinder_js_min} \
|
||||
${I18N}/elfinder.??.js ${IMG}/*
|
||||
|
||||
clean-elfinder:
|
||||
${RM} -f ${elfinder_css} ${elfinder_js} ${elfinder_js_min}
|
||||
|
||||
|
||||
# connectors
|
||||
connectors-install:
|
||||
${CP} -R ${SRC}/connectors/* ${CONN}/
|
||||
${CP} ${CONN}/php/connector.php ${CONN}/php/connector.php.tmp
|
||||
${CAT} ${CONN}/php/connector.php.tmp \
|
||||
| sed -e s_../../../files_../../files_ \
|
||||
> ${CONN}/php/connector.php
|
||||
${RM} ${CONN}/php/connector.php.tmp
|
||||
|
||||
|
||||
connectors-uninstall:
|
||||
${RM} -rf ${CONN}/*
|
||||
|
||||
|
||||
# compressor
|
||||
|
||||
elfinder-compress:
|
||||
${COMPRESSOR} ${elfinder_js_min} ${elfinder_js}
|
||||
|
||||
elfinder-compress-install:
|
||||
${CP} ${SRC}/${elfinder_js_min} ${JS}/
|
||||
|
||||
ifdef COMPRESSOR
|
||||
elfinder: elfinder-compress
|
||||
elfinder-install: elfinder-compress-install
|
||||
endif
|
||||
|
||||
89
simpla/design/js/elfinder/src/connectors/php/connector.php
Normal file
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
error_reporting(0); // Set E_ALL for debuging
|
||||
|
||||
if (function_exists('date_default_timezone_set')) {
|
||||
date_default_timezone_set('Europe/Moscow');
|
||||
}
|
||||
|
||||
include_once dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinder.class.php';
|
||||
|
||||
/**
|
||||
* Simple example how to use logger with elFinder
|
||||
**/
|
||||
class elFinderLogger implements elFinderILogger {
|
||||
|
||||
public function log($cmd, $ok, $context, $err='', $errorData = array()) {
|
||||
if (false != ($fp = fopen('./log.txt', 'a'))) {
|
||||
if ($ok) {
|
||||
$str = "cmd: $cmd; OK; context: ".str_replace("\n", '', var_export($context, true))."; \n";
|
||||
} else {
|
||||
$str = "cmd: $cmd; FAILED; context: ".str_replace("\n", '', var_export($context, true))."; error: $err; errorData: ".str_replace("\n", '', var_export($errorData, true))."\n";
|
||||
}
|
||||
fwrite($fp, $str);
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$opts = array(
|
||||
'root' => '../../../files', // path to root directory
|
||||
'URL' => 'http://localhost/git/elfinder/files/', // root directory URL
|
||||
'rootAlias' => 'Home', // display this instead of root directory name
|
||||
//'uploadAllow' => array('images/*'),
|
||||
//'uploadDeny' => array('all'),
|
||||
//'uploadOrder' => 'deny,allow'
|
||||
// 'disabled' => array(), // list of not allowed commands
|
||||
// 'dotFiles' => false, // display dot files
|
||||
// 'dirSize' => true, // count total directories sizes
|
||||
// 'fileMode' => 0666, // new files mode
|
||||
// 'dirMode' => 0777, // new folders mode
|
||||
// 'mimeDetect' => 'internal', // files mimetypes detection method (finfo, mime_content_type, linux (file -ib), bsd (file -Ib), internal (by extensions))
|
||||
// 'uploadAllow' => array(), // mimetypes which allowed to upload
|
||||
// 'uploadDeny' => array(), // mimetypes which not allowed to upload
|
||||
// 'uploadOrder' => 'deny,allow', // order to proccess uploadAllow and uploadAllow options
|
||||
// 'imgLib' => 'mogrify', // image manipulation library (imagick, mogrify, gd)
|
||||
// 'tmbDir' => '.tmb', // directory name for image thumbnails. Set to "" to avoid thumbnails generation
|
||||
// 'tmbCleanProb' => 1, // how frequiently clean thumbnails dir (0 - never, 100 - every init request)
|
||||
// 'tmbAtOnce' => 5, // number of thumbnails to generate per request
|
||||
// 'tmbSize' => 48, // images thumbnails size (px)
|
||||
// 'fileURL' => true, // display file URL in "get info"
|
||||
// 'dateFormat' => 'j M Y H:i', // file modification date format
|
||||
// 'logger' => null, // object logger
|
||||
// 'defaults' => array( // default permisions
|
||||
// 'read' => true,
|
||||
// 'write' => true,
|
||||
// 'rm' => true
|
||||
// ),
|
||||
// 'perms' => array(), // individual folders/files permisions
|
||||
// 'debug' => true, // send debug to client
|
||||
// 'archiveMimes' => array(), // allowed archive's mimetypes to create. Leave empty for all available types.
|
||||
// 'archivers' => array() // info about archivers to use. See example below. Leave empty for auto detect
|
||||
// 'archivers' => array(
|
||||
// 'create' => array(
|
||||
// 'application/x-gzip' => array(
|
||||
// 'cmd' => 'tar',
|
||||
// 'argc' => '-czf',
|
||||
// 'ext' => 'tar.gz'
|
||||
// )
|
||||
// ),
|
||||
// 'extract' => array(
|
||||
// 'application/x-gzip' => array(
|
||||
// 'cmd' => 'tar',
|
||||
// 'argc' => '-xzf',
|
||||
// 'ext' => 'tar.gz'
|
||||
// ),
|
||||
// 'application/x-bzip2' => array(
|
||||
// 'cmd' => 'tar',
|
||||
// 'argc' => '-xjf',
|
||||
// 'ext' => 'tar.bz'
|
||||
// )
|
||||
// )
|
||||
// )
|
||||
);
|
||||
|
||||
$fm = new elFinder($opts);
|
||||
$fm->run();
|
||||
|
||||
?>
|
||||
1995
simpla/design/js/elfinder/src/connectors/php/elFinder.class.php
Normal file
112
simpla/design/js/elfinder/src/connectors/python/connector.py
Normal file
@@ -0,0 +1,112 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
|
||||
import cgi
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
import elFinder
|
||||
|
||||
# configure connector options
|
||||
opts = {
|
||||
#'root': '/home/troex/Sites/git/elfinder/files',
|
||||
'root': '../git/elfinder/files/',
|
||||
'URL': 'http://localhost:8001/~troex/git/elfinder/files',
|
||||
## other options
|
||||
'debug': True,
|
||||
'fileURL': True, # download files using connector, no direct urls to files
|
||||
# 'dirSize': True,
|
||||
# 'dotFiles': True,
|
||||
# 'perms': {
|
||||
# 'backup': {
|
||||
# 'read': True,
|
||||
# 'write': False,
|
||||
# 'rm': False
|
||||
# },
|
||||
# '^/pics': {
|
||||
# 'read': True,
|
||||
# 'write': False,
|
||||
# 'rm': False
|
||||
# }
|
||||
# },
|
||||
# 'uploadDeny': ['image', 'application'],
|
||||
# 'uploadAllow': ['image/png', 'image/jpeg'],
|
||||
# 'uploadOrder': ['deny', 'allow']
|
||||
# 'disabled': ['rename', 'quicklook', 'upload']
|
||||
}
|
||||
|
||||
# init connector and pass options
|
||||
elf = elFinder.connector(opts)
|
||||
|
||||
# fetch only needed GET/POST parameters
|
||||
httpRequest = {}
|
||||
form = cgi.FieldStorage()
|
||||
for field in elf.httpAllowedParameters:
|
||||
if field in form:
|
||||
httpRequest[field] = form.getvalue(field)
|
||||
if field == 'upload[]':
|
||||
upFiles = {}
|
||||
cgiUploadFiles = form['upload[]']
|
||||
for up in cgiUploadFiles:
|
||||
if up.filename:
|
||||
upFiles[up.filename] = up.file # pack dict(filename: filedescriptor)
|
||||
httpRequest['upload[]'] = upFiles
|
||||
|
||||
# run connector with parameters
|
||||
status, header, response = elf.run(httpRequest)
|
||||
|
||||
# get connector output and print it out
|
||||
|
||||
# code below is tested with apache only (maybe other server need other method?)
|
||||
if status == 200:
|
||||
print 'Status: 200'
|
||||
elif status == 403:
|
||||
print 'Status: 403'
|
||||
elif status == 404:
|
||||
print 'Status: 404'
|
||||
|
||||
if len(header) >= 1:
|
||||
for h, v in header.iteritems():
|
||||
print h + ': ' + v
|
||||
print
|
||||
|
||||
if not response is None and status == 200:
|
||||
# send file
|
||||
if 'file' in response and isinstance(response['file'], file):
|
||||
print response['file'].read()
|
||||
response['file'].close()
|
||||
# output json
|
||||
else:
|
||||
print json.dumps(response, indent = True)
|
||||
|
||||
|
||||
|
||||
|
||||
## logging
|
||||
#import sys
|
||||
#log = open('/home/troex/Sites/git/elfinder/files/out.log', 'w')
|
||||
#print >>log, 'FORM: ', form
|
||||
#log.close()
|
||||
|
||||
## another aproach
|
||||
## get connector output and print it out
|
||||
#if elf.httpStatusCode == 200:
|
||||
# print 'HTTP/1.1 200 OK'
|
||||
#elif elf.httpStatusCode == 403:
|
||||
# print 'HTTP/1.x 403 Access Denied'
|
||||
#elif elf.httpStatusCode == 404:
|
||||
# print 'HTTP/1.x 404 Not Found'
|
||||
#
|
||||
#if len(elf.httpHeader) >= 1:
|
||||
# for header, value in elf.httpHeader.iteritems():
|
||||
# print header + ': ' + value
|
||||
# print
|
||||
#
|
||||
#if not elf.httpResponse is None:
|
||||
# if isinstance(elf.httpResponse['file'], file):
|
||||
# print elf.httpResponse['file'].read()
|
||||
# elf.httpResponse['file'].close()
|
||||
# else:
|
||||
# print json.dumps(elf.httpResponse, indent = True)
|
||||
#
|
||||
1492
simpla/design/js/elfinder/src/connectors/python/elFinder.py
Normal file
836
simpla/design/js/elfinder/src/css/elfinder.css
Normal file
@@ -0,0 +1,836 @@
|
||||
|
||||
/* file manager window */
|
||||
|
||||
.el-finder {
|
||||
width:100%;
|
||||
min-width:400px;
|
||||
border:1px solid #ccc;
|
||||
background-color:#eee;
|
||||
font:12px trebuchet ms,lucida grande,verdana,sans-serif;
|
||||
border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
.el-finder-undocked {
|
||||
position:absolute;
|
||||
min-width:400px;
|
||||
border:1px solid #ccc;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
/* error messages */
|
||||
.el-finder-err {
|
||||
padding: 15px;
|
||||
text-align:center;
|
||||
background: #fee;
|
||||
color: #cc0509;
|
||||
border: 2px #844 solid;
|
||||
border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
/* disabled */
|
||||
.el-finder-disabled .el-finder-toolbar li,
|
||||
.el-finder-disabled .el-finder-nav,
|
||||
.el-finder-disabled .el-finder-cwd {
|
||||
opacity:0.35; filter:Alpha(Opacity=35);
|
||||
}
|
||||
|
||||
.el-finder .el-finder-droppable {
|
||||
background-color:#99ccff;
|
||||
}
|
||||
.el-finder .ui-selected {
|
||||
background-color:#ccc;
|
||||
/* background-color:#c5e4f9;*/
|
||||
}
|
||||
|
||||
.el-finder input {
|
||||
margin:0;
|
||||
padding:0;
|
||||
outline:none;
|
||||
border:1px solid #ccc;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* toolbar */
|
||||
/************************************/
|
||||
|
||||
.el-finder-toolbar ul {
|
||||
padding:5px 7px;
|
||||
margin:0;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
.el-finder-toolbar ul li {
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
vertical-align: top;
|
||||
height:22px;
|
||||
width:23px;
|
||||
margin:0 2px;
|
||||
padding:0;
|
||||
background:url('../images/toolbar.png') no-repeat;
|
||||
border:1px solid #ccc;
|
||||
border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
}
|
||||
.el-finder-toolbar ul li.delim {
|
||||
border:none;
|
||||
width:3px;
|
||||
background-position: 1px -610px;
|
||||
}
|
||||
|
||||
.el-finder-toolbar ul li.el-finder-tb-hover {
|
||||
border:1px solid #fff;
|
||||
background-color:#ccc;
|
||||
}
|
||||
|
||||
.el-finder-toolbar ul li.disabled { opacity:0.35; filter:Alpha(Opacity=35); }
|
||||
|
||||
.el-finder-toolbar ul li.back { background-position: 3px -171px; }
|
||||
.el-finder-toolbar ul li.reload { background-position: 3px -192px; }
|
||||
.el-finder-toolbar ul li.select { background-position: 3px -214px; }
|
||||
.el-finder-toolbar ul li.open { background-position: 4px -235px; }
|
||||
.el-finder-toolbar ul li.mkdir { background-position: 4px -258px; }
|
||||
.el-finder-toolbar ul li.mkfile { background-position: 4px -280px; }
|
||||
.el-finder-toolbar ul li.upload { background-position: 3px -305px; }
|
||||
.el-finder-toolbar ul li.rm { background-position: 3px -330px; }
|
||||
.el-finder-toolbar ul li.copy { background-position: 3px -356px; }
|
||||
.el-finder-toolbar ul li.paste { background-position: 3px -381px; }
|
||||
.el-finder-toolbar ul li.rename { background-position: 3px -407px; }
|
||||
.el-finder-toolbar ul li.edit { background-position: 4px -435px; }
|
||||
.el-finder-toolbar ul li.info { background-position: 3px -462px; }
|
||||
.el-finder-toolbar ul li.help { background-position: 3px -487px; }
|
||||
.el-finder-toolbar ul li.icons { background-position: 3px -537px; }
|
||||
.el-finder-toolbar ul li.list { background-position: 3px -557px; }
|
||||
.el-finder-toolbar ul li.uncompress { background-position: 3px -583px; }
|
||||
.el-finder-toolbar ul li.resize { background-position: 3px -656px; }
|
||||
.el-finder-toolbar ul li.quicklook { background-position: 3px -726px; }
|
||||
|
||||
.el-finder-dock-button {
|
||||
width:19px;
|
||||
height:19px;
|
||||
float:right;
|
||||
margin: 2px;
|
||||
border:1px solid #ccc;
|
||||
border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
background:url('../images/toolbar.png') 2px -705px no-repeat;
|
||||
}
|
||||
|
||||
.ui-dialog .el-finder-dock-button {
|
||||
background-position:2px -681px;
|
||||
}
|
||||
|
||||
.el-finder-dock-button-hover {
|
||||
background-color:#ccc;
|
||||
border:1px solid #fff;
|
||||
}
|
||||
|
||||
/**********************************************************/
|
||||
/* workzone, container for navigation and current folder */
|
||||
/**********************************************************/
|
||||
|
||||
.el-finder-workzone {
|
||||
background-color:#fff;
|
||||
border-top:1px solid #ccc;
|
||||
border-bottom:1px solid #ccc;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
.el-finder-spinner {
|
||||
position:absolute;
|
||||
top:37%;
|
||||
left:37%;
|
||||
width:250px;
|
||||
height:50px;
|
||||
background:transparent url(../images/spinner.gif) 50% 50% no-repeat;
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* error in workzone */
|
||||
.el-finder-workzone p.el-finder-err {
|
||||
display:none;
|
||||
position:absolute;
|
||||
left:37%;
|
||||
top:20px;
|
||||
}
|
||||
|
||||
/* navigation and current directory */
|
||||
.el-finder-nav, .el-finder-cwd {
|
||||
height:350px;
|
||||
overflow:auto;
|
||||
padding:3px 1px;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* navigation */
|
||||
/************************************/
|
||||
|
||||
.el-finder-nav {
|
||||
float:left;
|
||||
width : 200px;
|
||||
background:#fff;
|
||||
}
|
||||
|
||||
.el-finder-nav .ui-resizable-e {
|
||||
right:0;
|
||||
}
|
||||
|
||||
/* folders tree */
|
||||
.el-finder-nav ul {
|
||||
list-style:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.el-finder-nav ul li {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
ul.el-finder-tree, ul.el-finder-places {
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
.el-finder-nav ul li ul {
|
||||
margin-left:12px;
|
||||
}
|
||||
|
||||
.el-finder-nav ul div {
|
||||
width:12px;
|
||||
height:20px;
|
||||
float:left;
|
||||
margin-right:23px;
|
||||
}
|
||||
|
||||
.el-finder-nav a, .el-finder-nav div.collapsed {
|
||||
background-image:url(../images/toolbar.png);
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
.el-finder-nav div.collapsed {
|
||||
background-position: -1px 7px;
|
||||
}
|
||||
.el-finder-nav div.expanded {
|
||||
background-position: -1px -9px;
|
||||
}
|
||||
|
||||
.el-finder-nav a {
|
||||
display: block;
|
||||
white-space:nowrap;
|
||||
line-height:20px;
|
||||
color:#444;
|
||||
cursor:default;
|
||||
text-decoration:none;
|
||||
outline:none;
|
||||
border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
background-position: 15px -56px;
|
||||
}
|
||||
|
||||
.el-finder-nav a.dropbox {
|
||||
background-position: 15px -80px;
|
||||
}
|
||||
.el-finder-nav a.readonly {
|
||||
background-position: 15px -104px;
|
||||
}
|
||||
.el-finder-nav a.noaccess {
|
||||
background-position: 15px -750px;
|
||||
}
|
||||
|
||||
.el-finder-nav a.selected {
|
||||
/* background-color:#ccc;*/
|
||||
background-color:#c5e4f9;
|
||||
background-position: 15px -128px;
|
||||
}
|
||||
|
||||
.el-finder-nav a.el-finder-tree-root {
|
||||
background-position: 15px -30px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.el-finder-nav a.el-finder-places-root {
|
||||
background-position: 15px -152px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.el-finder-nav ul.el-finder-tree .el-finder-droppable {
|
||||
background-position: 15px -237px;
|
||||
}
|
||||
|
||||
|
||||
/***********************************/
|
||||
/* current working directory */
|
||||
/************************************/
|
||||
|
||||
.el-finder-cwd {
|
||||
border-left:1px solid #ccc;
|
||||
padding:3px;
|
||||
}
|
||||
|
||||
/********** view: icons ************/
|
||||
.el-finder-cwd div {
|
||||
width: 81px;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
margin:0 3px 3px 0;
|
||||
padding:1px 0;
|
||||
text-align:center;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
color:#000;
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
|
||||
.el-finder-cwd p,
|
||||
.el-finder-ql p {
|
||||
width:48px;
|
||||
height:48px;
|
||||
margin:1px auto;
|
||||
padding:0;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
background: url('../images/icons-big.png') -1px 1px no-repeat;
|
||||
}
|
||||
|
||||
/* mimetypes */
|
||||
|
||||
.directory p { background-position: 0 -50px; }
|
||||
.application p,.x-java p { background-position: -1px -150px; }
|
||||
.audio p { background-position: -1px -300px; }
|
||||
.image p { background-position: -1px -250px; }
|
||||
.text p, .x-empty p { background-position: -1px -200px; }
|
||||
.video p { background-position: -1px -350px; }
|
||||
.vnd-adobe-photoshop p, .postscript p { background-position: 0 -250px; }
|
||||
/* texts */
|
||||
.rtf p, .rtfd p { background-position: 0 -400px; }
|
||||
.html p { background-position: 0 -550px; }
|
||||
.css p { background-position: 0 -600px; }
|
||||
.javascript p, .x-javascript p { background-position: 0 -650px; }
|
||||
.x-perl p { background-position: 0 -700px; }
|
||||
.x-python p { background-position: 0 -750px; }
|
||||
.x-ruby p { background-position: 0 -800px; }
|
||||
.x-sh p, .x-shellscript p { background-position: 0 -850px; }
|
||||
.x-c p, .x-java-source p { background-position: 0 -900px; }
|
||||
.x-php p { background-position: 0 -950px; }
|
||||
.xml p { background-position: 0 -1000px; }
|
||||
/* applications */
|
||||
.vnd-ms-office p,
|
||||
.msword p,
|
||||
.vnd-ms-word p,
|
||||
.vnd-oasis-opendocument-text p,
|
||||
.ms-excel p,
|
||||
.vnd-ms-excel p,
|
||||
.vnd-oasis-opendocument-spreadsheet p,
|
||||
.vnd-ms-powerpoint p,
|
||||
.vnd-oasis-opendocument-presentation p { background-position: 0 -500px; }
|
||||
.pdf p { background-position: 0 -450px; }
|
||||
.x-shockwave-flash p { background-position: 0 -1250px; }
|
||||
/* archives */
|
||||
.zip p, .x-7z-compressed p { background-position: 0 -1050px; }
|
||||
.x-gzip p, .x-tar p { background-position: 0 -1100px; }
|
||||
.x-bzip p, .x-bzip2 p { background-position: 0 -1150px; }
|
||||
.x-rar p, .x-rar-compressed p { background-position: 0 -1200px; }
|
||||
|
||||
|
||||
.el-finder-cwd div.el-finder-droppable p {
|
||||
background-position: 0 -98px;
|
||||
}
|
||||
|
||||
.el-finder-cwd label {
|
||||
display:block;
|
||||
font-size:11px;
|
||||
line-height:13px;
|
||||
padding:0 1px;
|
||||
margin:0;
|
||||
height:25px;
|
||||
overflow:hidden;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
.el-finder-cwd div input {
|
||||
background:#fff;
|
||||
color:#000;
|
||||
width:81px;
|
||||
margin-left:-2px;
|
||||
outline:none;
|
||||
border:1px solid #ccc;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.el-finder-cwd div em {
|
||||
float:left;
|
||||
margin-top:-40px;
|
||||
margin-left:9px;
|
||||
width:15px;
|
||||
height:16px;
|
||||
background:url(../images/icons-big.png) -17px -1310px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-cwd div em.dropbox {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: 0 -1308px;
|
||||
}
|
||||
.el-finder-cwd div em.noread {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: 0 -1310px;
|
||||
}
|
||||
.el-finder-cwd div em.readonly {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: -34px -1306px;
|
||||
}
|
||||
|
||||
.el-finder-cwd div em.noaccess {
|
||||
float:right;
|
||||
margin-right:9px;
|
||||
background-position: 0 -1430px;
|
||||
}
|
||||
|
||||
/********** view: list ************/
|
||||
|
||||
.el-finder-cwd table {
|
||||
width:100%;
|
||||
/* *width:99%;*/
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
border:1px solid #ccc;
|
||||
border-top:0 solid;
|
||||
border-left:0 solid;
|
||||
margin:-3px -3px;
|
||||
}
|
||||
|
||||
.el-finder-cwd table tr {
|
||||
background:transparent;
|
||||
}
|
||||
|
||||
.el-finder-cwd table tr.el-finder-row-odd {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.el-finder-cwd table tr.ui-selected {
|
||||
background-color:#ccc;
|
||||
}
|
||||
|
||||
.el-finder-cwd table th,
|
||||
.el-finder-cwd table td {
|
||||
padding:3px 5px;
|
||||
border-left:1px solid #ccc;
|
||||
cursor:default;
|
||||
white-space:nowrap;
|
||||
color:#000;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-cwd table th {
|
||||
text-align:left;
|
||||
background:#fbf9ee;
|
||||
font-size:.86em;
|
||||
}
|
||||
|
||||
.el-finder-cwd table td.icon {
|
||||
width:24px;
|
||||
}
|
||||
|
||||
.el-finder-cwd table p {
|
||||
width:24px;
|
||||
height:16px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
background:url(../images/icons-small.png) 4px 0 no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-cwd table .size {
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
tr.directory p { background-position:4px -16px; }
|
||||
tr.text p { background-position:5px -34px; }
|
||||
tr.image p { background-position:4px -51px; }
|
||||
tr.audio p { background-position:4px -70px; }
|
||||
tr.video p { background-position:5px -89px; }
|
||||
tr.application p { background-position:4px -108px; }
|
||||
/* text */
|
||||
tr.html p { background-position:5px -188px; }
|
||||
tr.javascript p,
|
||||
tr.x-javascript p,
|
||||
tr.css p,
|
||||
tr.x-sql p,
|
||||
tr.xml p,
|
||||
tr.x-python p,
|
||||
tr.x-java-source p,
|
||||
tr.x-perl p,
|
||||
tr.x-ruby p { background-position:5px -228px; }
|
||||
tr.x-php p { background-position:5px -247px; }
|
||||
tr.x-c p { background-position:5px -208px; }
|
||||
tr.x-shellscript p,
|
||||
tr.x-sh p { background-position:5px -168px; }
|
||||
tr.rtf p, tr.rtfd p { background-position:5px -148px; }
|
||||
/* application */
|
||||
tr.x-shockwave-flash p { background-position:4px -266px; }
|
||||
tr.pdf p { background-position:4px -285px; }
|
||||
tr.vnd-ms-office p { background-position:4px -325px; }
|
||||
tr.msword p,
|
||||
tr.vnd-oasis-opendocument-text p,
|
||||
tr.vnd-ms-word p { background-position:4px -346px; }
|
||||
tr.vnd-ms-excel p,
|
||||
tr.ms-excel p,
|
||||
tr.vnd-oasis-opendocument-spreadsheet { background-position:4px -365px; }
|
||||
tr.vnd-ms-powerpoint p,
|
||||
tr.vnd-oasis-opendocument-presentation { background-position:4px -385px; }
|
||||
/* archives */
|
||||
tr.x-tar p,
|
||||
tr.x-gzip p,
|
||||
tr.x-bzip p,
|
||||
tr.x-bzip2 p,
|
||||
tr.zip p,
|
||||
tr.x-rar p,
|
||||
tr.x-rar-compressed p,
|
||||
tr.x-7z-compressed p { background-position:4px -305px; }
|
||||
|
||||
tr.el-finder-droppable td.icon p { background-position:5px -450px; }
|
||||
|
||||
.el-finder-cwd table td p em {
|
||||
float:left;
|
||||
width:10px;
|
||||
height:12px;
|
||||
margin-top:5px;
|
||||
background:url(../images/icons-small.png) 0px -405px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-cwd table p em.readonly { background-position:0px -433px; }
|
||||
.el-finder-cwd table p em.dropbox { background-position:0px -418px; }
|
||||
.el-finder-cwd table p em.noread,
|
||||
.el-finder-cwd table p em.noaccess { background-position:0px -470px; }
|
||||
|
||||
/************************************/
|
||||
/* statusbar */
|
||||
/************************************/
|
||||
|
||||
.el-finder-statusbar {
|
||||
height:20px;
|
||||
}
|
||||
|
||||
.el-finder-stat,
|
||||
.el-finder-path,
|
||||
.el-finder-sel {
|
||||
padding:3px 9px 1px 9px;
|
||||
font-size:11px;
|
||||
color:#555;
|
||||
}
|
||||
/* current directory path */
|
||||
.el-finder-path {
|
||||
float:left;
|
||||
}
|
||||
/* number folders/files in current directory and size */
|
||||
.el-finder-stat {
|
||||
float:right;
|
||||
}
|
||||
/* info about selected files */
|
||||
.el-finder-sel {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* dialog window */
|
||||
/************************************/
|
||||
.el-finder-dialog {
|
||||
font-size:.84em;
|
||||
}
|
||||
.el-finder-dialog form p, .el-finder-dialog .ui-tabs p {
|
||||
margin:.5em;
|
||||
}
|
||||
.el-finder-dialog .ui-dialog-titlebar {
|
||||
padding: .2em .1em .1em .8em;
|
||||
}
|
||||
.el-finder-dialog .ui-dialog-buttonpane {
|
||||
padding: .1em 1em .1em .4em;
|
||||
font-size:.9em;
|
||||
}
|
||||
.el-finder-dialog .ui-dialog-content {
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.el-finder-dialog hr {
|
||||
border:0;
|
||||
border-bottom: 1px #ccc solid;
|
||||
clear:both
|
||||
}
|
||||
.el-finder-dialog ul {
|
||||
margin-top:0;
|
||||
}
|
||||
|
||||
.el-finder-dialog kbd { font-size:1.2em;}
|
||||
.el-finder-dialog a { outline: none;}
|
||||
|
||||
.el-finder-dialog textarea {
|
||||
width:98.9%;
|
||||
height:400px;
|
||||
outline:none;
|
||||
border:1px solid #ccc;
|
||||
font-family: "Monaco", "Andale Mono", "Lucida Console", monospace;
|
||||
}
|
||||
|
||||
.ui-state-error {
|
||||
margin: 5px 0;
|
||||
padding:.5em;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.el-finder-dialog .ui-state-error .ui-icon {
|
||||
float: left;
|
||||
margin-right: .3em;
|
||||
}
|
||||
|
||||
.el-finder-add-field {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.el-finder-add-field span {
|
||||
float:left;
|
||||
margin-right:.7em;
|
||||
}
|
||||
|
||||
.el-finder-dialog table {
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
.el-finder-dialog table td {
|
||||
padding:2px 5px;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-dialog .ui-tabs {
|
||||
font-size:.98em;
|
||||
}
|
||||
|
||||
.el-finder-dialog .ui-tabs div {
|
||||
padding:0 .5em;
|
||||
}
|
||||
.el-finder-dialog .ui-tabs-nav li a {
|
||||
padding:.2em 1em;
|
||||
}
|
||||
|
||||
/************************************/
|
||||
/* contextmenu */
|
||||
/************************************/
|
||||
|
||||
.el-finder-contextmenu {
|
||||
position:absolute;
|
||||
width:200px;
|
||||
background:#fff;
|
||||
color:#000;
|
||||
cursor:default;
|
||||
border:1px solid #ccc;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
padding:5px 0;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-contextmenu div {
|
||||
position:relative;
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:4px 29px 4px 29px;
|
||||
white-space:nowrap;
|
||||
font:12px trebuchet ms,lucida grande,verdana,sans-serif;
|
||||
background:url('../images/toolbar.png') 0 0 no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-contextmenu span {
|
||||
float:right;
|
||||
width:9px;
|
||||
height:18px;
|
||||
margin-right:-27px;
|
||||
background:url(../images/toolbar.png) -4px 5px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-contextmenu div.el-finder-contextmenu-sub {
|
||||
position:absolute;
|
||||
top:0;
|
||||
display:none;
|
||||
margin:0;
|
||||
padding:5px 0;
|
||||
background:#fff;
|
||||
border:1px solid #ccc;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
|
||||
.el-finder-contextmenu div.reload { background-position: 5px -192px; }
|
||||
.el-finder-contextmenu div.select { background-position: 5px -214px; }
|
||||
.el-finder-contextmenu div.open { background-position: 6px -235px; }
|
||||
.el-finder-contextmenu div.mkdir { background-position: 6px -258px; }
|
||||
.el-finder-contextmenu div.mkfile { background-position: 6px -280px; }
|
||||
.el-finder-contextmenu div.upload { background-position: 5px -305px; }
|
||||
.el-finder-contextmenu div.rm { background-position: 5px -330px; }
|
||||
.el-finder-contextmenu div.copy { background-position: 5px -356px; }
|
||||
.el-finder-contextmenu div.cut { background-position: 5px -631px; }
|
||||
.el-finder-contextmenu div.duplicate { background-position: 5px -356px; }
|
||||
.el-finder-contextmenu div.paste { background-position: 5px -381px; }
|
||||
.el-finder-contextmenu div.rename { background-position: 5px -407px; }
|
||||
.el-finder-contextmenu div.edit { background-position: 6px -435px; }
|
||||
.el-finder-contextmenu div.info { background-position: 5px -462px; }
|
||||
.el-finder-contextmenu div.help { background-position: 5px -487px; }
|
||||
.el-finder-contextmenu div.icons { background-position: 5px -537px; }
|
||||
.el-finder-contextmenu div.list { background-position: 5px -557px; }
|
||||
.el-finder-contextmenu div.archive { background-position: 5px -583px; }
|
||||
.el-finder-contextmenu div.extract { background-position: 5px -583px; }
|
||||
.el-finder-contextmenu div.resize { background-position: 5px -655px; }
|
||||
.el-finder-contextmenu div.quicklook { background-position: 5px -727px; }
|
||||
|
||||
.el-finder-contextmenu div.delim {
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:1px;
|
||||
border-top:1px solid #eee;
|
||||
background:transparent;
|
||||
display:block;
|
||||
}
|
||||
.el-finder-contextmenu div.hover { background-color:#99ccff; }
|
||||
|
||||
.el-finder-places {
|
||||
margin-top:.5em;
|
||||
}
|
||||
|
||||
|
||||
.el-finder-drag-helper {
|
||||
padding:0;
|
||||
cursor:move;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.el-finder-drag-helper div {
|
||||
border:0 solid;
|
||||
margin-left:-57px;
|
||||
|
||||
}
|
||||
|
||||
.el-finder-drag-copy {
|
||||
background:url('../images/toolbar.png') 0 -771px no-repeat;
|
||||
}
|
||||
|
||||
.el-finder-drag-helper label {
|
||||
border:1px solid #ccc;
|
||||
background-color:#eee;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
}
|
||||
|
||||
|
||||
/************************************/
|
||||
/* QuickLook */
|
||||
/************************************/
|
||||
|
||||
.el-finder-ql {
|
||||
position:absolute;
|
||||
width:420px;
|
||||
height:auto;
|
||||
padding:12px 9px;
|
||||
text-align:center;
|
||||
border-radius:9px;
|
||||
-moz-border-radius:9px;
|
||||
-webkit-border-radius:9px;
|
||||
background:url(../images/ql.png);
|
||||
overflow: inherit !important;
|
||||
}
|
||||
|
||||
.el-finder-ql.directory p { background-position: 0 -50px; }
|
||||
|
||||
/* toolbar */
|
||||
.el-finder-ql div.el-finder-ql-drag-handle {
|
||||
height:18px;
|
||||
font-size:14px;
|
||||
background-color:#777;
|
||||
margin:-12px -9px 12px -9px;
|
||||
padding:3px 0 0 19px;
|
||||
opacity:.8;
|
||||
text-align:center;
|
||||
white-space: nowrap;
|
||||
overflow:hidden;
|
||||
-moz-border-radius-topleft:9px;
|
||||
-moz-border-radius-topright:9px;
|
||||
-webkit-border-top-left-radius: 9px;
|
||||
-webkit-border-top-right-radius: 9px;
|
||||
border-top-left-radius: 9px;
|
||||
border-top-right-radius: 9px;
|
||||
}
|
||||
/* close button */
|
||||
.el-finder-ql div.el-finder-ql-drag-handle span {
|
||||
float:left;
|
||||
margin:0 19px 0 -15px;
|
||||
}
|
||||
/* title in tolbar */
|
||||
.el-finder-ql div.el-finder-ql-drag-handle strong {
|
||||
line-height:18px;
|
||||
margin-left:-17px;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.el-finder-ql div.el-finder-ql-media {
|
||||
width:100%;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.el-finder-ql div.el-finder-ql-content {
|
||||
width:100%;
|
||||
font:.82em/1.3em trebuchet ms,lucida grande,verdana,sans-serif;
|
||||
padding:5px 0;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.el-finder-ql div.el-finder-ql-content span,
|
||||
.el-finder-ql div.el-finder-ql-content a {
|
||||
display:block;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* text files preview */
|
||||
.el-finder-ql iframe {
|
||||
background:#fff;
|
||||
width:100%;
|
||||
height:315px;
|
||||
padding:0;
|
||||
margin:0;
|
||||
border:none;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
|
||||
/* images preview */
|
||||
.el-finder-ql img {
|
||||
margin:0 auto;
|
||||
border:1px solid #fff;
|
||||
}
|
||||
|
||||
/* button help */
|
||||
.el-finder-help-std {
|
||||
background: url(../images/icons-big.png) 0 -1380px no-repeat;
|
||||
width:48px;
|
||||
height:48px;
|
||||
float:right;
|
||||
}
|
||||
|
||||
.el-finder-logo {
|
||||
background: url(../images/icons-big.png) 0 -1329px no-repeat;
|
||||
width:48px;
|
||||
height:48px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.el-finder-ql .ui-resizable-e, .el-finder-ql .ui-resizable-s { background:transparent !important;}
|
||||
132
simpla/design/js/elfinder/src/elfinder-src.php.html
Normal file
@@ -0,0 +1,132 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>elFinder Source PHP</title>
|
||||
|
||||
<script src="../js/jquery-1.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="../js/jquery-ui-1.8.13.custom.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../css/smoothness/jquery-ui-1.8.13.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
||||
|
||||
<link rel="stylesheet" href="css/elfinder.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
||||
|
||||
<script src="js/elFinder.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.view.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.ui.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.quickLook.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.eventsManager.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<script src="js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.cs.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.el.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.es.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.fr.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.hu.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.it.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.lv.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.nl.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.pl.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.uk.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.zh_TW.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<style type="text/css">
|
||||
#close, #open, #dock, #undock, #destroy {
|
||||
width: 100px;
|
||||
position:relative;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
margin:0 3px 3px 0;
|
||||
padding:1px 0;
|
||||
text-align:center;
|
||||
border:1px solid #ccc;
|
||||
background-color:#eee;
|
||||
margin:1em .5em;
|
||||
padding:.3em .7em;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
cursor:pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$().ready(function() {
|
||||
var f = $('#finder').elfinder({
|
||||
url : 'connectors/php/connector.php',
|
||||
lang : 'ru',
|
||||
docked : true,
|
||||
// editorCallback : function(url) { window.console.log(url) },
|
||||
// closeOnEditorCallback : false,
|
||||
selectMultiple : true,
|
||||
dialog : {
|
||||
title : 'File manager',
|
||||
height : 500
|
||||
}
|
||||
})
|
||||
|
||||
// window.console.log(f)
|
||||
|
||||
$('#close,#open,#dock,#undock,#destroy').click(function() {
|
||||
$('#finder').elfinder($(this).attr('id'));
|
||||
})
|
||||
|
||||
$('#mkdir').click(function(e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
window.console.log(f[0].elfinder)
|
||||
f[0].elfinder.ui.exec('mkdir')
|
||||
})
|
||||
|
||||
// var opts = {
|
||||
// url : 'connectors/php/connector.php',
|
||||
// lang : 'ru',
|
||||
// // editorCallback : function(url) { window.console.log(url) },
|
||||
// closeOnEditorCallback : true,
|
||||
// dialog : {
|
||||
// title : 'File manager',
|
||||
// height : 500
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// $('#i1,#i2').click(function() {
|
||||
// var t = $(this),
|
||||
// id = t.attr('id')+'_elfinder',
|
||||
// f = $('#'+id);
|
||||
//
|
||||
// $('.my-elfinder').elfinder('close')
|
||||
//
|
||||
// if (f.length) {
|
||||
// f.elfinder('open')
|
||||
// } else {
|
||||
// $('<div class="my-elfinder" id="'+id+'"/>').elfinder($.extend({}, opts, { editorCallback : function(url) { t.val(url).focus() } }))
|
||||
// }
|
||||
//
|
||||
// })
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a href="#" id="mkdir">mkdir</a>
|
||||
<div id="open">open</div><div id="close">close</div><div id="dock">dock</div><div id="undock">undock</div>
|
||||
<div id="finder">finder</div>
|
||||
<input type="text" value="123" />
|
||||
|
||||
|
||||
<!-- <div><input type="text" id="i1"></div> -->
|
||||
<!-- <div><input type="text" id="i2"></div> -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
86
simpla/design/js/elfinder/src/elfinder-src.py.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>elFinder Source Python</title>
|
||||
|
||||
<script src="../js/jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="../js/jquery-ui-1.8.8.custom.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<link rel="stylesheet" href="../js/ui-themes/smoothness/jquery-ui-1.8.8.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
||||
|
||||
<link rel="stylesheet" href="css/elfinder.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
||||
|
||||
<script src="js/elFinder.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.view.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.ui.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.quickLook.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/elFinder.eventsManager.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<script src="js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.cs.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.el.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.es.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.fr.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.hu.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.it.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.lv.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.nl.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.pl.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.ua.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="js/i18n/elfinder.zh_TW.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<style type="text/css">
|
||||
#close, #open, #dock, #undock, #destroy {
|
||||
width: 100px;
|
||||
position:relative;
|
||||
display: -moz-inline-stack;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
margin:0 3px 3px 0;
|
||||
padding:1px 0;
|
||||
text-align:center;
|
||||
border:1px solid #ccc;
|
||||
background-color:#eee;
|
||||
margin:1em .5em;
|
||||
padding:.3em .7em;
|
||||
border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
cursor:pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$().ready(function() {
|
||||
var f = $('#finder').elfinder({
|
||||
url : '../../../cgi/connector.py',
|
||||
lang : 'ru',
|
||||
docked : true,
|
||||
editorCallback : function(url) { window.console.log(url) },
|
||||
closeOnEditorCallback : false,
|
||||
selectMultiple : true,
|
||||
dialog : {
|
||||
title : 'File manager',
|
||||
height : 500
|
||||
}
|
||||
})
|
||||
|
||||
// window.console.log(f)
|
||||
|
||||
$('#close,#open,#dock,#undock,#destroy').click(function() {
|
||||
$('#finder').elfinder($(this).attr('id'));
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="open">open</div><div id="close">close</div><div id="dock">dock</div><div id="undock">undock</div>
|
||||
<div id="finder">finder</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
simpla/design/js/elfinder/src/images/icons-big.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
simpla/design/js/elfinder/src/images/icons-small.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
simpla/design/js/elfinder/src/images/ql.png
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
simpla/design/js/elfinder/src/images/spinner.gif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
simpla/design/js/elfinder/src/images/toolbar.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
437
simpla/design/js/elfinder/src/js/elFinder.eventsManager.js
Normal file
@@ -0,0 +1,437 @@
|
||||
/**
|
||||
* @class Bind/update events
|
||||
* @author dio dio@std42.ru
|
||||
**/
|
||||
(function($) {
|
||||
elFinder.prototype.eventsManager = function(fm, el) {
|
||||
var self = this;
|
||||
this.lock = false;
|
||||
this.fm = fm;
|
||||
this.ui = fm.ui;
|
||||
this.tree = fm.view.tree
|
||||
this.cwd = fm.view.cwd;
|
||||
this.pointer = '';
|
||||
|
||||
/**
|
||||
* Initial events binding
|
||||
*
|
||||
**/
|
||||
this.init = function() {
|
||||
var self = this, ignore = false;
|
||||
|
||||
self.lock = false;
|
||||
|
||||
this.cwd
|
||||
.bind('click', function(e) {
|
||||
var t = $(e.target);
|
||||
if (t.hasClass('ui-selected')) {
|
||||
self.fm.unselectAll();
|
||||
} else {
|
||||
if (!t.attr('key')) {
|
||||
t = t.parent('[key]');
|
||||
}
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
self.fm.toggleSelect(t);
|
||||
} else {
|
||||
self.fm.select(t, true);
|
||||
}
|
||||
}
|
||||
})
|
||||
.bind(window.opera?'click':'contextmenu', function(e) {
|
||||
if (window.opera && !e.ctrlKey) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
var t = $(e.target);
|
||||
if ($.browser.mozilla) {
|
||||
ignore = true;
|
||||
}
|
||||
|
||||
|
||||
if (t.hasClass('el-finder-cwd')) {
|
||||
self.fm.unselectAll();
|
||||
} else {
|
||||
self.fm.select(t.attr('key') ? t : t.parent('[key]'));
|
||||
}
|
||||
self.fm.quickLook.hide();
|
||||
self.fm.ui.showMenu(e);
|
||||
})
|
||||
.selectable({
|
||||
filter : '[key]',
|
||||
delay : 300,
|
||||
stop : function() { self.fm.updateSelect(); self.fm.log('mouseup') }
|
||||
});
|
||||
|
||||
$(document).bind('click', function(e) {
|
||||
!ignore && self.fm.ui.hideMenu();
|
||||
ignore = false
|
||||
$('input', self.cwd).trigger('change');
|
||||
|
||||
if (!$(e.target).is('input,textarea,select')) {
|
||||
$('input,textarea').blur();
|
||||
}
|
||||
});
|
||||
|
||||
$('input,textarea').live('focus', function(e) {
|
||||
self.lock = true;
|
||||
}).live('blur', function(e) {
|
||||
self.lock = false;
|
||||
});
|
||||
|
||||
/* open parents dir in tree */
|
||||
this.tree.bind('select', function(e) {
|
||||
self.tree.find('a').removeClass('selected');
|
||||
$(e.target).addClass('selected').parents('li:has(ul)').children('ul').show().prev().children('div').addClass('expanded');
|
||||
});
|
||||
|
||||
/* make places droppable */
|
||||
if (this.fm.options.places) {
|
||||
|
||||
this.fm.view.plc.click(function(e) {
|
||||
e.preventDefault();
|
||||
var t = $(e.target),
|
||||
h = t.attr('key'), ul;
|
||||
|
||||
if (h) {
|
||||
h != self.fm.cwd.hash && self.ui.exec('open', e.target)
|
||||
} else if (e.target.nodeName == 'A' || e.target.nodeName == 'DIV') {
|
||||
ul = self.fm.view.plc.find('ul');
|
||||
if (ul.children().length) {
|
||||
ul.toggle(300);
|
||||
self.fm.view.plc.children('li').find('div').toggleClass('expanded');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
this.fm.view.plc.droppable({
|
||||
accept : '(div,tr).directory',
|
||||
tolerance : 'pointer',
|
||||
over : function() { $(this).addClass('el-finder-droppable'); },
|
||||
out : function() { $(this).removeClass('el-finder-droppable'); },
|
||||
drop : function(e, ui) {
|
||||
$(this).removeClass('el-finder-droppable');
|
||||
var upd = false;
|
||||
/* accept only folders with read access */
|
||||
ui.helper.children('.directory:not(.noaccess,.dropbox)').each(function() {
|
||||
if (self.fm.addPlace($(this).attr('key'))) {
|
||||
upd = true;
|
||||
$(this).hide();
|
||||
}
|
||||
});
|
||||
/* update places id's and view */
|
||||
if (upd) {
|
||||
self.fm.view.renderPlaces();
|
||||
self.updatePlaces();
|
||||
self.fm.view.plc.children('li').children('div').trigger('click');
|
||||
}
|
||||
/* hide helper if empty */
|
||||
if (!ui.helper.children('div:visible').length) {
|
||||
ui.helper.hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/* bind shortcuts */
|
||||
|
||||
$(document).bind($.browser.mozilla || $.browser.opera ? 'keypress' : 'keydown', function(e) {
|
||||
var meta = e.ctrlKey||e.metaKey;
|
||||
|
||||
if (self.lock) {
|
||||
return;
|
||||
}
|
||||
switch(e.keyCode) {
|
||||
/* arrows left/up. with Ctrl - exec "back", w/o - move selection */
|
||||
case 37:
|
||||
case 38:
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
if (e.keyCode == 37 && meta) {
|
||||
self.ui.execIfAllowed('back');
|
||||
} else {
|
||||
moveSelection(false, !e.shiftKey);
|
||||
}
|
||||
break;
|
||||
/* arrows right/down. with Ctrl - exec "open", w/o - move selection */
|
||||
case 39:
|
||||
case 40:
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
if (meta) {
|
||||
self.ui.execIfAllowed('open');
|
||||
} else {
|
||||
moveSelection(true, !e.shiftKey);
|
||||
}
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$(document).bind($.browser.opera ? 'keypress' : 'keydown', function(e) {
|
||||
|
||||
if (self.lock) {
|
||||
return;
|
||||
}
|
||||
switch(e.keyCode) {
|
||||
/* Space - QuickLook */
|
||||
case 32:
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
self.fm.quickLook.toggle();
|
||||
break;
|
||||
/* Esc */
|
||||
case 27:
|
||||
self.fm.quickLook.hide();
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
if (!this.fm.options.disableShortcuts) {
|
||||
|
||||
$(document).bind('keydown', function(e) {
|
||||
var meta = e.ctrlKey||e.metaKey;
|
||||
|
||||
if (self.lock) {
|
||||
return;
|
||||
}
|
||||
switch (e.keyCode) {
|
||||
/* Meta+Backspace - delete */
|
||||
case 8:
|
||||
if (meta && self.ui.isCmdAllowed('rm')) {
|
||||
e.preventDefault();
|
||||
self.ui.exec('rm');
|
||||
}
|
||||
break;
|
||||
/* Enter - exec "select" command if enabled, otherwise exec "open" */
|
||||
case 13:
|
||||
if (self.ui.isCmdAllowed('select')) {
|
||||
return self.ui.exec('select');
|
||||
}
|
||||
self.ui.execIfAllowed('open');
|
||||
break;
|
||||
/* Delete */
|
||||
case 46:
|
||||
self.ui.execIfAllowed('rm');
|
||||
break;
|
||||
/* Ctrl+A */
|
||||
case 65:
|
||||
if (meta) {
|
||||
e.preventDefault();
|
||||
self.fm.selectAll();
|
||||
}
|
||||
break;
|
||||
/* Ctrl+C */
|
||||
case 67:
|
||||
meta && self.ui.execIfAllowed('copy');
|
||||
break;
|
||||
/* Ctrl+I - get info */
|
||||
case 73:
|
||||
if (meta) {
|
||||
e.preventDefault();
|
||||
self.ui.exec('info');
|
||||
}
|
||||
break;
|
||||
/* Ctrl+N - new folder */
|
||||
case 78:
|
||||
if (meta) {
|
||||
e.preventDefault();
|
||||
self.ui.execIfAllowed('mkdir');
|
||||
}
|
||||
break;
|
||||
/* Ctrl+U - upload files */
|
||||
case 85:
|
||||
|
||||
if (meta) {
|
||||
e.preventDefault();
|
||||
self.ui.execIfAllowed('upload');
|
||||
}
|
||||
break;
|
||||
/* Ctrl+V */
|
||||
case 86:
|
||||
meta && self.ui.execIfAllowed('paste');
|
||||
break;
|
||||
/* Ctrl+X */
|
||||
case 88:
|
||||
meta && self.ui.execIfAllowed('cut');
|
||||
break;
|
||||
|
||||
case 113:
|
||||
self.ui.execIfAllowed('rename');
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Update navigation droppable/draggable
|
||||
*
|
||||
**/
|
||||
this.updateNav = function() {
|
||||
$('a', this.tree).click(function(e) {
|
||||
e.preventDefault();
|
||||
var t = $(this), c;
|
||||
if (e.target.nodeName == 'DIV' && $(e.target).hasClass('collapsed')) {
|
||||
$(e.target).toggleClass('expanded').parent().next('ul').toggle(300);
|
||||
} else if (t.attr('key') != self.fm.cwd.hash) {
|
||||
if (t.hasClass('noaccess') || t.hasClass('dropbox')) {
|
||||
self.fm.view.error('Access denied');
|
||||
} else {
|
||||
self.ui.exec('open', t.trigger('select')[0]);
|
||||
}
|
||||
} else {
|
||||
c = t.children('.collapsed');
|
||||
if (c.length) {
|
||||
c.toggleClass('expanded');
|
||||
t.next('ul').toggle(300);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('a:not(.noaccess,.readonly)', this.tree).droppable({
|
||||
tolerance : 'pointer',
|
||||
accept : 'div[key],tr[key]',
|
||||
over : function() { $(this).addClass('el-finder-droppable'); },
|
||||
out : function() { $(this).removeClass('el-finder-droppable'); },
|
||||
drop : function(e, ui) { $(this).removeClass('el-finder-droppable'); self.fm.drop(e, ui, $(this).attr('key')); }
|
||||
});
|
||||
this.fm.options.places && this.updatePlaces();
|
||||
}
|
||||
|
||||
/**
|
||||
* Update places draggable
|
||||
*
|
||||
**/
|
||||
this.updatePlaces = function() {
|
||||
this.fm.view.plc.children('li').find('li').draggable({
|
||||
scroll : false,
|
||||
stop : function() {
|
||||
if (self.fm.removePlace($(this).children('a').attr('key'))) {
|
||||
$(this).remove();
|
||||
if (!$('li', self.fm.view.plc.children('li')).length) {
|
||||
self.fm.view.plc.children('li').find('div').removeClass('collapsed expanded').end().children('ul').hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Update folders droppable & files/folders draggable
|
||||
**/
|
||||
this.updateCwd = function() {
|
||||
|
||||
$('[key]', this.cwd)
|
||||
.bind('dblclick', function(e) {
|
||||
self.fm.select($(this), true);
|
||||
self.ui.exec(self.ui.isCmdAllowed('select') ? 'select' : 'open');
|
||||
})
|
||||
.draggable({
|
||||
delay : 3,
|
||||
addClasses : false,
|
||||
appendTo : '.el-finder-cwd',
|
||||
revert : true,
|
||||
drag : function(e, ui) {
|
||||
ui.helper.toggleClass('el-finder-drag-copy', e.shiftKey||e.ctrlKey);
|
||||
},
|
||||
helper : function() {
|
||||
var t = $(this),
|
||||
h = $('<div class="el-finder-drag-helper"/>'),
|
||||
c = 0;
|
||||
!t.hasClass('ui-selected') && self.fm.select(t, true);
|
||||
|
||||
self.cwd.find('.ui-selected').each(function(i) {
|
||||
var el = self.fm.options.view == 'icons' ? $(this).clone().removeClass('ui-selected') : $(self.fm.view.renderIcon(self.fm.cdc[$(this).attr('key')]))
|
||||
if (c++ == 0 || c%12 == 0) {
|
||||
el.css('margin-left', 0);
|
||||
}
|
||||
h.append(el);
|
||||
});
|
||||
return h.css('width', (c<=12 ? 85+(c-1)*29 : 387)+'px');
|
||||
}
|
||||
})
|
||||
.filter('.directory')
|
||||
.droppable({
|
||||
tolerance : 'pointer',
|
||||
accept : 'div[key],tr[key]',
|
||||
over : function() { $(this).addClass('el-finder-droppable'); },
|
||||
out : function() { $(this).removeClass('el-finder-droppable'); },
|
||||
drop : function(e, ui) { $(this).removeClass('el-finder-droppable'); self.fm.drop(e, ui, $(this).attr('key')); }
|
||||
});
|
||||
|
||||
if ($.browser.msie) {
|
||||
$('*', this.cwd).attr('unselectable', 'on')
|
||||
.filter('[key]')
|
||||
.bind('dragstart', function() { self.cwd.selectable('disable').removeClass('ui-state-disabled ui-selectable-disabled'); })
|
||||
.bind('dragstop', function() { self.cwd.selectable('enable'); });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Move selection in current dir
|
||||
*
|
||||
* @param Boolean move forward?
|
||||
* @param Boolean clear current selection?
|
||||
**/
|
||||
function moveSelection(forward, reset) {
|
||||
var p, _p, cur;
|
||||
|
||||
if (!$('[key]', self.cwd).length) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (self.fm.selected.length == 0) {
|
||||
p = $('[key]:'+(forward ? 'first' : 'last'), self.cwd);
|
||||
self.fm.select(p);
|
||||
} else if (reset) {
|
||||
p = $('.ui-selected:'+(forward ? 'last' : 'first'), self.cwd);
|
||||
_p = p[forward ? 'next' : 'prev']('[key]');
|
||||
if (_p.length) {
|
||||
p = _p;
|
||||
}
|
||||
self.fm.select(p, true);
|
||||
} else {
|
||||
if (self.pointer) {
|
||||
cur = $('[key="'+self.pointer+'"].ui-selected', self.cwd);
|
||||
}
|
||||
if (!cur || !cur.length) {
|
||||
cur = $('.ui-selected:'+(forward ? 'last' : 'first'), self.cwd);
|
||||
}
|
||||
p = cur[forward ? 'next' : 'prev']('[key]');
|
||||
|
||||
if (!p.length) {
|
||||
p = cur;
|
||||
} else {
|
||||
if (!p.hasClass('ui-selected')) {
|
||||
self.fm.select(p);
|
||||
} else {
|
||||
if (!cur.hasClass('ui-selected')) {
|
||||
self.fm.unselect(p);
|
||||
} else {
|
||||
_p = cur[forward ? 'prev' : 'next']('[key]')
|
||||
if (!_p.length || !_p.hasClass('ui-selected')) {
|
||||
self.fm.unselect(cur);
|
||||
} else {
|
||||
while ((_p = forward ? p.next('[key]') : p.prev('[key]')) && p.hasClass('ui-selected')) {
|
||||
p = _p;
|
||||
}
|
||||
self.fm.select(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
self.pointer = p.attr('key');
|
||||
self.fm.checkSelectedPos(forward);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
785
simpla/design/js/elfinder/src/js/elFinder.js
Normal file
@@ -0,0 +1,785 @@
|
||||
(function($) {
|
||||
|
||||
/**
|
||||
* @class File manager (main controller)
|
||||
* @author dio dio@std42.ru
|
||||
**/
|
||||
elFinder = function(el, o) {
|
||||
var self = this, id;
|
||||
|
||||
this.log = function(m) {
|
||||
window.console && window.console.log && window.console.log(m);
|
||||
}
|
||||
/**
|
||||
* Object. File manager configuration
|
||||
**/
|
||||
this.options = $.extend({}, this.options, o||{});
|
||||
|
||||
if (!this.options.url) {
|
||||
alert('Invalid configuration! You have to set URL option.');
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* String. element id, create random if not set;
|
||||
**/
|
||||
this.id = '';
|
||||
if ((id = $(el).attr('id'))) {
|
||||
this.id = id;
|
||||
} else {
|
||||
// this.id = 'el-finder-'+Math.random().toString().substring(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* String. Version number;
|
||||
**/
|
||||
this.version = '1.2';
|
||||
/**
|
||||
* String. jQuery version;
|
||||
**/
|
||||
this.jquery = $.fn.jquery.split('.').join('');
|
||||
|
||||
/**
|
||||
* Object. Current Working Dir info
|
||||
**/
|
||||
this.cwd = {};
|
||||
/**
|
||||
* Object. Current Dir Content. Files/folders info
|
||||
**/
|
||||
this.cdc = {};
|
||||
/**
|
||||
* Object. Buffer for copied files
|
||||
**/
|
||||
this.buffer = {};
|
||||
/**
|
||||
* Array. Selected files IDs
|
||||
**/
|
||||
this.selected = [];
|
||||
/**
|
||||
* Array. Folder navigation history
|
||||
**/
|
||||
this.history = [];
|
||||
/**
|
||||
* Boolean. Enable/disable actions
|
||||
**/
|
||||
this.locked = false;
|
||||
/**
|
||||
* Number. Max z-index on page + 1, need for contextmenu and quicklook
|
||||
**/
|
||||
this.zIndex = 2;
|
||||
/**
|
||||
* DOMElement. jQueryUI dialog
|
||||
**/
|
||||
this.dialog = null;
|
||||
/**
|
||||
* DOMElement. For docked mode - place where fm is docked
|
||||
**/
|
||||
this.anchor = this.options.docked ? $('<div/>').hide().insertBefore(el) : null;
|
||||
/**
|
||||
* Object. Some options get from server
|
||||
**/
|
||||
this.params = { dotFiles : false, arc : '', uplMaxSize : '' };
|
||||
this.vCookie = 'el-finder-view-'+this.id;
|
||||
this.pCookie = 'el-finder-places-'+this.id;
|
||||
this.lCookie = 'el-finder-last-'+this.id;
|
||||
/**
|
||||
* Object. View. After init we can accessel as this.view.win
|
||||
**/
|
||||
this.view = new this.view(this, el);
|
||||
/**
|
||||
* Object. User Iterface. Controller for commands/buttons/contextmenu
|
||||
**/
|
||||
this.ui = new this.ui(this);
|
||||
/**
|
||||
* Object. Set/update events
|
||||
**/
|
||||
this.eventsManager = new this.eventsManager(this);
|
||||
/**
|
||||
* Object. Quick Look like in MacOS X :)
|
||||
**/
|
||||
this.quickLook = new this.quickLook(this);
|
||||
|
||||
/**
|
||||
* Set/get cookie value
|
||||
*
|
||||
* @param String name cookie name
|
||||
* @param String value cookie value, null to unset
|
||||
**/
|
||||
this.cookie = function(name, value) {
|
||||
if (typeof value == 'undefined') {
|
||||
if (document.cookie && document.cookie != '') {
|
||||
var i, c = document.cookie.split(';');
|
||||
name += '=';
|
||||
for (i=0; i<c.length; i++) {
|
||||
c[i] = $.trim(c[i]);
|
||||
if (c[i].substring(0, name.length) == name) {
|
||||
return decodeURIComponent(c[i].substring(name.length));
|
||||
}
|
||||
}
|
||||
}
|
||||
return '';
|
||||
} else {
|
||||
var d, o = $.extend({}, this.options.cookie);
|
||||
if (value===null) {
|
||||
value = '';
|
||||
o.expires = -1;
|
||||
}
|
||||
if (typeof(o.expires) == 'number') {
|
||||
d = new Date();
|
||||
d.setTime(d.getTime()+(o.expires * 24 * 60 * 60 * 1000));
|
||||
o.expires = d;
|
||||
}
|
||||
document.cookie = name+'='+encodeURIComponent(value)+'; expires='+o.expires.toUTCString()+(o.path ? '; path='+o.path : '')+(o.domain ? '; domain='+o.domain : '')+(o.secure ? '; secure' : '');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set/unset this.locked flag
|
||||
*
|
||||
* @param Boolean state
|
||||
**/
|
||||
this.lock = function(l) {
|
||||
this.view.spinner((this.locked = l||false));
|
||||
this.eventsManager.lock = this.locked;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set/unset lock for keyboard shortcuts
|
||||
*
|
||||
* @param Boolean state
|
||||
**/
|
||||
this.lockShortcuts = function(l) {
|
||||
this.eventsManager.lock = !!l;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set file manager view type (list|icons)
|
||||
*
|
||||
* @param String v view name
|
||||
**/
|
||||
this.setView = function(v) {
|
||||
if (v == 'list' || v == 'icons') {
|
||||
this.options.view = v;
|
||||
this.cookie(this.vCookie, v);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* make ajax request, show message on error, call callback on success
|
||||
*
|
||||
* @param Object. data for ajax request
|
||||
* @param Function
|
||||
* @param Object overrwrite some options
|
||||
*/
|
||||
this.ajax = function(data, callback, options) {
|
||||
|
||||
var opts = {
|
||||
url : this.options.url,
|
||||
async : true,
|
||||
type : 'GET',
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
cache : false,
|
||||
lock : true,
|
||||
force : false,
|
||||
silent : false
|
||||
}
|
||||
if (typeof(options) == 'object') {
|
||||
opts = $.extend({}, opts, options);
|
||||
}
|
||||
if (!opts.silent) {
|
||||
opts.error = self.view.fatal;
|
||||
}
|
||||
opts.success = function(data) {
|
||||
opts.lock && self.lock();
|
||||
if (data) {
|
||||
data.debug && self.log(data.debug);
|
||||
if (data.error) {
|
||||
!opts.silent && self.view.error(data.error, data.errorData);
|
||||
if (!opts.force) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
callback(data);
|
||||
|
||||
delete data;
|
||||
}
|
||||
|
||||
}
|
||||
opts.lock && this.lock(true);
|
||||
$.ajax(opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load generated thumbnails in background
|
||||
*
|
||||
**/
|
||||
this.tmb = function() {
|
||||
this.ajax({cmd : 'tmb', current : self.cwd.hash}, function(data) {
|
||||
if (self.options.view == 'icons' && data.images && data.current == self.cwd.hash) {
|
||||
for (var i in data.images) {
|
||||
if (self.cdc[i]) {
|
||||
self.cdc[i].tmb = data.images[i];
|
||||
$('div[key="'+i+'"]>p', self.view.cwd).css('background', ' url("'+data.images[i]+'") 0 0 no-repeat');
|
||||
}
|
||||
|
||||
}
|
||||
data.tmb && self.tmb();
|
||||
}
|
||||
}, {lock : false, silent : true});
|
||||
}
|
||||
|
||||
/**
|
||||
* Return folders in places IDs
|
||||
*
|
||||
* @return Array
|
||||
**/
|
||||
this.getPlaces = function() {
|
||||
var pl = [], p = this.cookie(this.pCookie);
|
||||
if (p.length) {
|
||||
if (p.indexOf(':')!=-1) {
|
||||
pl = p.split(':');
|
||||
} else {
|
||||
pl.push(p);
|
||||
}
|
||||
}
|
||||
return pl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add new folder to places
|
||||
*
|
||||
* @param String Folder ID
|
||||
* @return Boolean
|
||||
**/
|
||||
this.addPlace = function(id) {
|
||||
var p = this.getPlaces();
|
||||
if ($.inArray(id, p) == -1) {
|
||||
p.push(id);
|
||||
this.savePlaces(p);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove folder from places
|
||||
*
|
||||
* @param String Folder ID
|
||||
* @return Boolean
|
||||
**/
|
||||
this.removePlace = function(id) {
|
||||
var p = this.getPlaces();
|
||||
if ($.inArray(id, p) != -1) {
|
||||
this.savePlaces($.map(p, function(o) { return o == id?null:o; }));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Save new places data in cookie
|
||||
*
|
||||
* @param Array Folders IDs
|
||||
**/
|
||||
this.savePlaces = function(p) {
|
||||
this.cookie(this.pCookie, p.join(':'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update file manager content
|
||||
*
|
||||
* @param Object Data from server
|
||||
**/
|
||||
this.reload = function(data) {
|
||||
var i;
|
||||
this.cwd = data.cwd;
|
||||
|
||||
this.cdc = {};
|
||||
for (i=0; i<data.cdc.length ; i++) {
|
||||
if (data.cdc[i].hash && data.cdc[i].name) {
|
||||
this.cdc[data.cdc[i].hash] = data.cdc[i];
|
||||
this.cwd.size += data.cdc[i].size;
|
||||
}
|
||||
}
|
||||
|
||||
if (data.tree) {
|
||||
this.view.renderNav(data.tree);
|
||||
this.eventsManager.updateNav();
|
||||
}
|
||||
|
||||
this.updateCwd();
|
||||
|
||||
/* tell connector to generate thumbnails */
|
||||
if (data.tmb && !self.locked && self.options.view == 'icons') {
|
||||
self.tmb();
|
||||
}
|
||||
/* have to select some files */
|
||||
if (data.select && data.select.length) {
|
||||
var l = data.select.length;
|
||||
while (l--) {
|
||||
this.cdc[data.select[l]] && this.selectById(data.select[l]);
|
||||
}
|
||||
}
|
||||
this.lastDir(this.cwd.hash);
|
||||
if (this.options.autoReload>0) {
|
||||
this.iID && clearInterval(this.iID);
|
||||
this.iID = setInterval(function() { !self.locked && self.ui.exec('reload'); }, this.options.autoReload*60000);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Redraw current directory
|
||||
*
|
||||
*/
|
||||
this.updateCwd = function() {
|
||||
this.lockShortcuts(true);
|
||||
this.selected = [];
|
||||
this.view.renderCwd();
|
||||
this.eventsManager.updateCwd();
|
||||
this.view.tree.find('a[key="'+this.cwd.hash+'"]').trigger('select');
|
||||
this.lockShortcuts();
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute after files was dropped onto folder
|
||||
*
|
||||
* @param Object drop event
|
||||
* @param Object drag helper object
|
||||
* @param String target folder ID
|
||||
*/
|
||||
this.drop = function(e, ui, target) {
|
||||
if (ui.helper.find('[key="'+target+'"]').length) {
|
||||
return self.view.error('Unable to copy into itself');
|
||||
}
|
||||
var ids = [];
|
||||
ui.helper.find('div:not(.noaccess):has(>label):not(:has(em[class="readonly"],em[class=""]))').each(function() {
|
||||
ids.push($(this).hide().attr('key'));
|
||||
});
|
||||
|
||||
if (!ui.helper.find('div:has(>label):visible').length) {
|
||||
ui.helper.hide();
|
||||
}
|
||||
if (ids.length) {
|
||||
self.setBuffer(ids, e.shiftKey?0:1, target);
|
||||
if (self.buffer.files) {
|
||||
/* some strange jquery ui bug (in list view) */
|
||||
setTimeout(function() {self.ui.exec('paste'); self.buffer = {}}, 300);
|
||||
}
|
||||
} else {
|
||||
$(this).removeClass('el-finder-droppable');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return selected files data
|
||||
*
|
||||
* @param Number if set, returns only element with this index or empty object
|
||||
* @return Array|Object
|
||||
*/
|
||||
this.getSelected = function(ndx) {
|
||||
var i, s = [];
|
||||
if (ndx>=0) {
|
||||
return this.cdc[this.selected[ndx]]||{};
|
||||
}
|
||||
for (i=0; i<this.selected.length; i++) {
|
||||
this.cdc[this.selected[i]] && s.push(this.cdc[this.selected[i]]);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
this.select = function(el, reset) {
|
||||
reset && $('.ui-selected', self.view.cwd).removeClass('ui-selected');
|
||||
el.addClass('ui-selected');
|
||||
self.updateSelect();
|
||||
}
|
||||
|
||||
this.selectById = function(id) {
|
||||
var el = $('[key="'+id+'"]', this.view.cwd);
|
||||
if (el.length) {
|
||||
this.select(el);
|
||||
this.checkSelectedPos();
|
||||
}
|
||||
}
|
||||
|
||||
this.unselect = function(el) {
|
||||
el.removeClass('ui-selected');
|
||||
self.updateSelect();
|
||||
}
|
||||
|
||||
this.toggleSelect = function(el) {
|
||||
el.toggleClass('ui-selected');
|
||||
this.updateSelect();
|
||||
}
|
||||
|
||||
this.selectAll = function() {
|
||||
$('[key]', self.view.cwd).addClass('ui-selected')
|
||||
self.updateSelect();
|
||||
}
|
||||
|
||||
this.unselectAll = function() {
|
||||
$('.ui-selected', self.view.cwd).removeClass('ui-selected');
|
||||
self.updateSelect();
|
||||
}
|
||||
|
||||
this.updateSelect = function() {
|
||||
self.selected = [];
|
||||
$('.ui-selected', self.view.cwd).each(function() {
|
||||
self.selected.push($(this).attr('key'));
|
||||
});
|
||||
self.view.selectedInfo();
|
||||
self.ui.update();
|
||||
self.quickLook.update();
|
||||
}
|
||||
|
||||
/**
|
||||
* Scroll selected element in visible position
|
||||
*
|
||||
* @param Boolean check last or first selected element?
|
||||
*/
|
||||
this.checkSelectedPos = function(last) {
|
||||
var s = self.view.cwd.find('.ui-selected:'+(last ? 'last' : 'first')).eq(0),
|
||||
p = s.position(),
|
||||
h = s.outerHeight(),
|
||||
ph = self.view.cwd.height();
|
||||
if (p.top < 0) {
|
||||
self.view.cwd.scrollTop(p.top+self.view.cwd.scrollTop()-2);
|
||||
} else if (ph - p.top < h) {
|
||||
self.view.cwd.scrollTop(p.top+h-ph+self.view.cwd.scrollTop());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add files to clipboard buffer
|
||||
*
|
||||
* @param Array files IDs
|
||||
* @param Boolean copy or cut files?
|
||||
* @param String destination folder ID
|
||||
*/
|
||||
this.setBuffer = function(files, cut, dst) {
|
||||
var i, id, f;
|
||||
this.buffer = {
|
||||
src : this.cwd.hash,
|
||||
dst : dst,
|
||||
files : [],
|
||||
names : [],
|
||||
cut : cut||0
|
||||
};
|
||||
|
||||
for (i=0; i<files.length; i++) {
|
||||
id = files[i];
|
||||
f = this.cdc[id];
|
||||
if (f && f.read && f.type != 'link') {
|
||||
this.buffer.files.push(f.hash);
|
||||
this.buffer.names.push(f.name);
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.buffer.files.length) {
|
||||
this.buffer = {};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if file name is acceptable
|
||||
*
|
||||
* @param String file/folder name
|
||||
* @return Boolean
|
||||
*/
|
||||
this.isValidName = function(n) {
|
||||
if (!this.cwd.dotFiles && n.indexOf('.') == 0) {
|
||||
return false;
|
||||
}
|
||||
return n.match(/^[^\\\/\<\>:]+$/);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if file with this name exists
|
||||
*
|
||||
* @param String file/folder name
|
||||
* @return Boolean
|
||||
*/
|
||||
this.fileExists = function(n) {
|
||||
for (var i in this.cdc) {
|
||||
if (this.cdc[i].name == n) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return name for new file/folder
|
||||
*
|
||||
* @param String base name (i18n)
|
||||
* @param String extension for file
|
||||
* @return String
|
||||
*/
|
||||
this.uniqueName = function(n, ext) {
|
||||
n = self.i18n(n);
|
||||
var name = n, i = 0, ext = ext||'';
|
||||
|
||||
if (!this.fileExists(name+ext)) {
|
||||
return name+ext;
|
||||
}
|
||||
|
||||
while (i++<100) {
|
||||
if (!this.fileExists(name+i+ext)) {
|
||||
return name+i+ext;
|
||||
}
|
||||
}
|
||||
return name.replace('100', '')+Math.random()+ext;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get/set last opened dir
|
||||
*
|
||||
* @param String dir hash
|
||||
* @return String
|
||||
*/
|
||||
this.lastDir = function(dir) {
|
||||
if (this.options.rememberLastDir) {
|
||||
return dir ? this.cookie(this.lCookie, dir) : this.cookie(this.lCookie);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Resize file manager
|
||||
*
|
||||
* @param Number width
|
||||
* @param Number height
|
||||
*/
|
||||
function resize(w, h) {
|
||||
w && self.view.win.width(w);
|
||||
h && self.view.nav.add(self.view.cwd).height(h);
|
||||
}
|
||||
|
||||
/**
|
||||
* Resize file manager in dialog window while it resize
|
||||
*
|
||||
*/
|
||||
function dialogResize() {
|
||||
resize(null, self.dialog.height()-self.view.tlb.parent().height()-($.browser.msie ? 47 : 32))
|
||||
}
|
||||
|
||||
this.time = function() {
|
||||
return new Date().getMilliseconds();
|
||||
}
|
||||
|
||||
/* here we init file manager */
|
||||
|
||||
this.setView(this.cookie(this.vCookie));
|
||||
resize(self.options.width, self.options.height);
|
||||
|
||||
/* dialog or docked mode */
|
||||
if (this.options.dialog || this.options.docked) {
|
||||
this.options.dialog = $.extend({width : 570, dialogClass : '', minWidth : 480, minHeight: 330}, this.options.dialog || {});
|
||||
this.options.dialog.open = function() {
|
||||
setTimeout(function() {
|
||||
$('<input type="text" value="f"/>').appendTo(self.view.win).focus().select().remove()
|
||||
}, 200)
|
||||
|
||||
}
|
||||
this.options.dialog.dialogClass += 'el-finder-dialog';
|
||||
this.options.dialog.resize = dialogResize;
|
||||
if (this.options.docked) {
|
||||
/* docked mode - create dialog and store size */
|
||||
this.options.dialog.close = function() { self.dock(); };
|
||||
|
||||
this.view.win.data('size', {width : this.view.win.width(), height : this.view.nav.height()});
|
||||
} else {
|
||||
this.options.dialog.close = function() {
|
||||
self.destroy();
|
||||
}
|
||||
this.dialog = $('<div/>').append(this.view.win).dialog(this.options.dialog);
|
||||
}
|
||||
}
|
||||
|
||||
this.ajax({
|
||||
cmd : 'open',
|
||||
target : this.lastDir()||'',
|
||||
init : true,
|
||||
tree : true
|
||||
},
|
||||
function(data) {
|
||||
if (data.cwd) {
|
||||
self.eventsManager.init();
|
||||
self.reload(data);
|
||||
$.extend(self.params, data.params||{});
|
||||
|
||||
$('*', document.body).each(function() {
|
||||
var z = parseInt($(this).css('z-index'));
|
||||
if (z >= self.zIndex) {
|
||||
self.zIndex = z+1;
|
||||
}
|
||||
});
|
||||
self.ui.init(data.disabled);
|
||||
}
|
||||
|
||||
}, {force : true});
|
||||
|
||||
|
||||
this.open = function() {
|
||||
this.dialog ? this.dialog.dialog('open') : this.view.win.show();
|
||||
this.eventsManager.lock = false;
|
||||
}
|
||||
|
||||
this.close = function() {
|
||||
this.quickLook.hide();
|
||||
if (this.options.docked && this.view.win.attr('undocked')) {
|
||||
this.dock();
|
||||
} else {
|
||||
this.dialog ? this.dialog.dialog('close') : this.view.win.hide();
|
||||
}
|
||||
this.eventsManager.lock = true;
|
||||
}
|
||||
|
||||
this.destroy = function() {
|
||||
|
||||
this.eventsManager.lock = true;
|
||||
this.quickLook.hide();
|
||||
this.quickLook.win.remove();
|
||||
if (this.dialog) {
|
||||
this.dialog.dialog('destroy');
|
||||
this.view.win.parent().remove();
|
||||
} else {
|
||||
this.view.win.remove();
|
||||
}
|
||||
this.ui.menu.remove();
|
||||
}
|
||||
|
||||
this.dock = function() {
|
||||
if (this.options.docked && this.view.win.attr('undocked')) {
|
||||
this.quickLook.hide();
|
||||
var s =this.view.win.data('size');
|
||||
this.view.win.insertAfter(this.anchor).removeAttr('undocked');
|
||||
resize(s.width, s.height);
|
||||
this.dialog.dialog('destroy');
|
||||
this.dialog = null;
|
||||
}
|
||||
}
|
||||
|
||||
this.undock = function() {
|
||||
if (this.options.docked && !this.view.win.attr('undocked')) {
|
||||
this.quickLook.hide();
|
||||
this.dialog = $('<div/>').append(this.view.win.css('width', '100%').attr('undocked', true).show()).dialog(this.options.dialog);
|
||||
dialogResize();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Translate message into selected language
|
||||
*
|
||||
* @param String message in english
|
||||
* @param String translated or original message
|
||||
*/
|
||||
elFinder.prototype.i18n = function(m) {
|
||||
return this.options.i18n[this.options.lang] && this.options.i18n[this.options.lang][m] ? this.options.i18n[this.options.lang][m] : m;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default config
|
||||
*
|
||||
*/
|
||||
elFinder.prototype.options = {
|
||||
/* connector url. Required! */
|
||||
url : '',
|
||||
/* interface language */
|
||||
lang : 'en',
|
||||
/* additional css class for filemanager container */
|
||||
cssClass : '',
|
||||
/* characters number to wrap file name in icons view. set to 0 to disable wrap */
|
||||
wrap : 14,
|
||||
/* Name for places/favorites (i18n), set to '' to disable places */
|
||||
places : 'Places',
|
||||
/* show places before navigation? */
|
||||
placesFirst : true,
|
||||
/* callback to get file url (for wswing editors) */
|
||||
editorCallback : null,
|
||||
/* string to cut from file url begin before pass it to editorCallback. variants: '' - nothing to cut, 'root' - cut root url, 'http://...' - string if it exists in the beginig of url */
|
||||
cutURL : '',
|
||||
/* close elfinder after editorCallback */
|
||||
closeOnEditorCallback : true,
|
||||
/* i18 messages. not set manually! */
|
||||
i18n : {},
|
||||
/* fm view (icons|list) */
|
||||
view : 'icons',
|
||||
/* width to overwrite css options */
|
||||
width : '',
|
||||
/* height to overwrite css options. Attenion! this is heigt of navigation/cwd panels! not total fm height */
|
||||
height : '',
|
||||
/* disable shortcuts exclude arrows/space */
|
||||
disableShortcuts : false,
|
||||
/* open last visited dir after reload page or close and open browser */
|
||||
rememberLastDir : true,
|
||||
/* cookie options */
|
||||
cookie : {
|
||||
expires : 30,
|
||||
domain : '',
|
||||
path : '/',
|
||||
secure : false
|
||||
},
|
||||
/* buttons on toolbar */
|
||||
toolbar : [
|
||||
['back', 'reload'],
|
||||
['select', 'open'],
|
||||
['mkdir', 'mkfile', 'upload'],
|
||||
['copy', 'paste', 'rm'],
|
||||
['rename', 'edit'],
|
||||
['info', 'quicklook', 'resize'],
|
||||
['icons', 'list'],
|
||||
['help']
|
||||
],
|
||||
/* contextmenu commands */
|
||||
contextmenu : {
|
||||
'cwd' : ['reload', 'delim', 'mkdir', 'mkfile', 'upload', 'delim', 'paste', 'delim', 'info'],
|
||||
'file' : ['select', 'open', 'quicklook', 'delim', 'copy', 'cut', 'rm', 'delim', 'duplicate', 'rename', 'edit', 'resize', 'archive', 'extract', 'delim', 'info'],
|
||||
'group' : ['select', 'copy', 'cut', 'rm', 'delim', 'archive', 'extract', 'delim', 'info']
|
||||
},
|
||||
/* jqueryUI dialog options */
|
||||
dialog : null,
|
||||
/* docked mode */
|
||||
docked : false,
|
||||
/* auto reload time (min) */
|
||||
autoReload : 0,
|
||||
/* set to true if you need to select several files at once from editorCallback */
|
||||
selectMultiple : false
|
||||
}
|
||||
|
||||
|
||||
$.fn.elfinder = function(o) {
|
||||
|
||||
return this.each(function() {
|
||||
|
||||
var cmd = typeof(o) == 'string' ? o : '';
|
||||
if (!this.elfinder) {
|
||||
this.elfinder = new elFinder(this, typeof(o) == 'object' ? o : {})
|
||||
}
|
||||
|
||||
switch(cmd) {
|
||||
case 'close':
|
||||
case 'hide':
|
||||
this.elfinder.close();
|
||||
break;
|
||||
|
||||
case 'open':
|
||||
case 'show':
|
||||
this.elfinder.open();
|
||||
break;
|
||||
|
||||
case 'dock':
|
||||
this.elfinder.dock();
|
||||
break;
|
||||
|
||||
case 'undock':
|
||||
this.elfinder.undock();
|
||||
break;
|
||||
|
||||
case'destroy':
|
||||
this.elfinder.destroy();
|
||||
break;
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
371
simpla/design/js/elfinder/src/js/elFinder.quickLook.js
Normal file
@@ -0,0 +1,371 @@
|
||||
/**
|
||||
* @class Create quick look window (similar to MacOS X Quick Look)
|
||||
* @author dio dio@std42.ru
|
||||
**/
|
||||
(function($) {
|
||||
elFinder.prototype.quickLook = function(fm, el) {
|
||||
var self = this;
|
||||
this.fm = fm;
|
||||
this._hash = '';
|
||||
this.title = $('<strong/>');
|
||||
this.ico = $('<p/>');
|
||||
this.info = $('<label/>');
|
||||
this.media = $('<div class="el-finder-ql-media"/>').hide()
|
||||
|
||||
this.name = $('<span class="el-finder-ql-name"/>')
|
||||
this.kind = $('<span class="el-finder-ql-kind"/>')
|
||||
this.size = $('<span class="el-finder-ql-size"/>')
|
||||
this.date = $('<span class="el-finder-ql-date"/>')
|
||||
this.url = $('<a href="#"/>').hide().click(function(e) {
|
||||
e.preventDefault();
|
||||
window.open($(this).attr('href'));
|
||||
self.hide();
|
||||
});
|
||||
|
||||
this.add = $('<div/>')
|
||||
this.content = $('<div class="el-finder-ql-content"/>')
|
||||
this.win = $('<div class="el-finder-ql"/>').hide()
|
||||
.append($('<div class="el-finder-ql-drag-handle"/>').append($('<span class="ui-icon ui-icon-circle-close"/>').click(function() { self.hide(); })).append(this.title))
|
||||
.append(this.ico)
|
||||
.append(this.media)
|
||||
.append(this.content.append(this.name).append(this.kind).append(this.size).append(this.date).append(this.url).append(this.add))
|
||||
// .appendTo(this.fm.view.win)
|
||||
.appendTo('body')
|
||||
.draggable({handle : '.el-finder-ql-drag-handle'})
|
||||
.resizable({
|
||||
minWidth : 420,
|
||||
minHeight : 150,
|
||||
resize : function() {
|
||||
if (self.media.children().length) {
|
||||
var t = self.media.children(':first');
|
||||
switch (t[0].nodeName) {
|
||||
case 'IMG':
|
||||
var w = t.width(),
|
||||
h = t.height(),
|
||||
_w = self.win.width(),
|
||||
_h = self.win.css('height') == 'auto' ? 350 : self.win.height()-self.content.height()-self.th,
|
||||
r = w>_w || h>_h
|
||||
? Math.min(Math.min(_w, w)/w, Math.min(_h, h)/h)
|
||||
: Math.min(Math.max(_w, w)/w, Math.max(_h, h)/h);
|
||||
t.css({
|
||||
width : Math.round(t.width()*r),
|
||||
height : Math.round(t.height()*r)
|
||||
})
|
||||
break;
|
||||
case 'IFRAME':
|
||||
case 'EMBED':
|
||||
t.css('height', self.win.height()-self.content.height()-self.th);
|
||||
break;
|
||||
case 'OBJECT':
|
||||
t.children('embed').css('height', self.win.height()-self.content.height()-self.th);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
this.th = parseInt(this.win.children(':first').css('height'))||18;
|
||||
/* All browsers do it, but some is shy to says about it. baka da ne! */
|
||||
this.mimes = {
|
||||
'image/jpeg' : 'jpg',
|
||||
'image/gif' : 'gif',
|
||||
'image/png' : 'png'
|
||||
};
|
||||
|
||||
for (var i=0; i<navigator.mimeTypes.length; i++) {
|
||||
var t = navigator.mimeTypes[i].type;
|
||||
if (t && t != '*') {
|
||||
this.mimes[t] = navigator.mimeTypes[i].suffixes;
|
||||
}
|
||||
}
|
||||
|
||||
if (($.browser.safari && navigator.platform.indexOf('Mac') != -1) || $.browser.msie) {
|
||||
/* not booletproof, but better then nothing */
|
||||
this.mimes['application/pdf'] = 'pdf';
|
||||
} else {
|
||||
for (var n=0; n < navigator.plugins.length; n++) {
|
||||
for (var m=0; m < navigator.plugins[n].length; m++) {
|
||||
var e = navigator.plugins[n][m].description.toLowerCase();
|
||||
if (e.substring(0, e.indexOf(" ")) == 'pdf') {
|
||||
this.mimes['application/pdf'] = 'pdf';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (this.mimes['image/x-bmp']) {
|
||||
this.mimes['image/x-ms-bmp'] = 'bmp';
|
||||
}
|
||||
|
||||
if ($.browser.msie && !this.mimes['application/x-shockwave-flash']) {
|
||||
this.mimes['application/x-shockwave-flash'] = 'swf';
|
||||
}
|
||||
|
||||
// self.fm.log(this.mimes)
|
||||
|
||||
/**
|
||||
* Open quickLook window
|
||||
**/
|
||||
this.show = function() {
|
||||
if (this.win.is(':hidden') && self.fm.selected.length == 1) {
|
||||
update();
|
||||
var id = self.fm.selected[0],
|
||||
el = self.fm.view.cwd.find('[key="'+id+'"]'),
|
||||
o = el.offset();
|
||||
|
||||
self.fm.lockShortcuts(true);
|
||||
this.win.css({
|
||||
width : el.width()-20,
|
||||
height : el.height(),
|
||||
left : o.left,
|
||||
top : o.top,
|
||||
opacity : 0
|
||||
}).show().animate({
|
||||
width : 420,
|
||||
height : 150,
|
||||
opacity : 1,
|
||||
top : Math.round($(window).height()/5),
|
||||
left : $(window).width()/2-210
|
||||
}, 450, function() {
|
||||
self.win.css({height: 'auto'});
|
||||
self.fm.lockShortcuts();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Close quickLook window
|
||||
**/
|
||||
this.hide = function() {
|
||||
if (this.win.is(':visible')) {
|
||||
var o, el = self.fm.view.cwd.find('[key="'+this._hash+'"]');
|
||||
if (el) {
|
||||
o = el.offset();
|
||||
this.media.hide(200)//.empty()
|
||||
this.win.animate({
|
||||
width : el.width()-20,
|
||||
height : el.height(),
|
||||
left : o.left,
|
||||
top : o.top,
|
||||
opacity : 0
|
||||
}, 350, function() {
|
||||
self.fm.lockShortcuts();
|
||||
reset();
|
||||
self.win.hide().css('height', 'auto');
|
||||
});
|
||||
} else {
|
||||
this.win.fadeOut(200);
|
||||
reset();
|
||||
self.fm.lockShortcuts();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Open/close quickLook window
|
||||
**/
|
||||
this.toggle = function() {
|
||||
if (this.win.is(':visible')) {
|
||||
this.hide();
|
||||
} else {
|
||||
this.show();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update quickLook window content if only one file selected,
|
||||
* otherwise close window
|
||||
**/
|
||||
this.update = function() {
|
||||
if (this.fm.selected.length != 1) {
|
||||
this.hide();
|
||||
} else if (this.win.is(':visible') && this.fm.selected[0] != this._hash) {
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return height of this.media block
|
||||
* @return Number
|
||||
**/
|
||||
this.mediaHeight = function() {
|
||||
return this.win.is(':animated') || this.win.css('height') == 'auto' ? 315 : this.win.height()-this.content.height()-this.th;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean quickLook window DOM elements
|
||||
**/
|
||||
function reset() {
|
||||
self.media.hide().empty();
|
||||
self.win.attr('class', 'el-finder-ql').css('z-index', self.fm.zIndex);
|
||||
self.title.empty();
|
||||
self.ico.attr('style', '').show();
|
||||
self.add.hide().empty();
|
||||
self._hash = '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Update quickLook window content
|
||||
**/
|
||||
function update() {
|
||||
var f = self.fm.getSelected(0);
|
||||
reset();
|
||||
|
||||
self._hash = f.hash;
|
||||
self.title.text(f.name);
|
||||
self.win.addClass(self.fm.view.mime2class(f.mime));
|
||||
self.name.text(f.name);
|
||||
self.kind.text(self.fm.view.mime2kind(f.link ? 'symlink' : f.mime));
|
||||
self.size.text(self.fm.view.formatSize(f.size));
|
||||
self.date.text(self.fm.i18n('Modified')+': '+self.fm.view.formatDate(f.date));
|
||||
f.dim && self.add.append('<span>'+f.dim+' px</span>').show();
|
||||
f.tmb && self.ico.css('background', 'url("'+f.tmb+'") 0 0 no-repeat');
|
||||
if (f.url) {
|
||||
self.url.text(f.url).attr('href', f.url).show();
|
||||
for (var i in self.plugins) {
|
||||
if (self.plugins[i].test && self.plugins[i].test(f.mime, self.mimes, f.name)) {
|
||||
self.plugins[i].show(self, f);
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
self.url.hide();
|
||||
}
|
||||
|
||||
self.win.css({
|
||||
width : '420px',
|
||||
height : 'auto'
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
elFinder.prototype.quickLook.prototype.plugins = {
|
||||
|
||||
image : new function() {
|
||||
|
||||
this.test = function(mime, mimes) {
|
||||
return mime.match(/^image\//);
|
||||
}
|
||||
|
||||
this.show = function(ql, f) {
|
||||
var url, t;
|
||||
|
||||
if (ql.mimes[f.mime] && f.hash == ql._hash) {
|
||||
$('<img/>').hide().appendTo(ql.media.show()).attr('src', f.url+($.browser.msie || $.browser.opera ? '?'+Math.random() : '')).load(function() {
|
||||
t = $(this).unbind('load');
|
||||
if (f.hash == ql._hash) {
|
||||
ql.win.is(':animated') ? setTimeout(function() { preview(t); }, 330) : preview(t);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function preview(img) {
|
||||
var w = img.width(),
|
||||
h = img.height(),
|
||||
a = ql.win.is(':animated'),
|
||||
_w = a ? 420 : ql.win.width(),
|
||||
_h = a || ql.win.css('height') == 'auto' ? 315 : ql.win.height()-ql.content.height()-ql.th,
|
||||
r = w>_w || h>_h
|
||||
? Math.min(Math.min(_w, w)/w, Math.min(_h, h)/h)
|
||||
: Math.min(Math.max(_w, w)/w, Math.max(_h, h)/h);
|
||||
|
||||
ql.fm.lockShortcuts(true);
|
||||
ql.ico.hide();
|
||||
img.css({
|
||||
width : ql.ico.width(),
|
||||
height : ql.ico.height()
|
||||
}).show().animate({
|
||||
width : Math.round(r*w),
|
||||
height : Math.round(r*h)
|
||||
}, 450, function() {
|
||||
ql.fm.lockShortcuts();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
text : new function() {
|
||||
|
||||
this.test = function(mime, mimes) {
|
||||
return (mime.indexOf('text') == 0 && mime.indexOf('rtf') == -1) || mime.match(/application\/(xml|javascript|json)/);
|
||||
}
|
||||
|
||||
this.show = function(ql, f) {
|
||||
if (f.hash == ql._hash) {
|
||||
ql.ico.hide();
|
||||
ql.media.append('<iframe src="'+f.url+'" style="height:'+ql.mediaHeight()+'px" />').show();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
swf : new function() {
|
||||
|
||||
this.test = function(mime, mimes) {
|
||||
return mime == 'application/x-shockwave-flash' && mimes[mime];
|
||||
}
|
||||
|
||||
this.show = function(ql, f) {
|
||||
if (f.hash == ql._hash) {
|
||||
ql.ico.hide();
|
||||
// ql.media.append('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="movie" value="'+url+'" /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="'+url+'" type="application/x-shockwave-flash" style="width:100%;height:'+ql.mediaHeight()+'px"></embed></object>')
|
||||
// .slideDown(400);
|
||||
var e = ql.media.append('<embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="'+f.url+'" style="width:100%;height:'+ql.mediaHeight()+'px" type="application/x-shockwave-flash" />');
|
||||
if (ql.win.is(':animated')) {
|
||||
e.slideDown(450)
|
||||
} else {
|
||||
e.show()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
audio : new function() {
|
||||
|
||||
this.test = function(mime, mimes) {
|
||||
return mime.indexOf('audio') == 0 && mimes[mime];
|
||||
}
|
||||
|
||||
this.show = function(ql, f) {
|
||||
if (f.hash == ql._hash) {
|
||||
ql.ico.hide();
|
||||
var h = ql.win.is(':animated') || ql.win.css('height') == 'auto' ? 100 : ql.win.height()-ql.content.height()-ql.th;
|
||||
ql.media.append('<embed src="'+f.url+'" style="width:100%;height:'+h+'px" />').show();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
video : new function() {
|
||||
|
||||
this.test = function(mime, mimes) {
|
||||
return mime.indexOf('video') == 0 && mimes[mime];
|
||||
}
|
||||
|
||||
this.show = function(ql, f) {
|
||||
if (f.hash == ql._hash) {
|
||||
ql.ico.hide();
|
||||
ql.media.append('<embed src="'+f.url+'" style="width:100%;height:'+ql.mediaHeight()+'px" />').show();
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
pdf : new function() {
|
||||
|
||||
this.test = function(mime, mimes) {
|
||||
return mime == 'application/pdf' && mimes[mime];
|
||||
}
|
||||
|
||||
this.show = function(ql, f) {
|
||||
if (f.hash == ql._hash) {
|
||||
ql.ico.hide();
|
||||
ql.media.append('<embed src="'+f.url+'" style="width:100%;height:'+ql.mediaHeight()+'px" />').show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
})(jQuery);
|
||||
1399
simpla/design/js/elfinder/src/js/elFinder.ui.js
Normal file
347
simpla/design/js/elfinder/src/js/elFinder.view.js
Normal file
@@ -0,0 +1,347 @@
|
||||
(function($) {
|
||||
elFinder.prototype.view = function(fm, el) {
|
||||
var self = this;
|
||||
this.fm = fm;
|
||||
/**
|
||||
* Object. Mimetypes to kinds mapping
|
||||
**/
|
||||
this.kinds = {
|
||||
'unknown' : 'Unknown',
|
||||
'directory' : 'Folder',
|
||||
'symlink' : 'Alias',
|
||||
'symlink-broken' : 'Broken alias',
|
||||
'application/x-empty' : 'Plain text',
|
||||
'application/postscript' : 'Postscript document',
|
||||
'application/octet-stream' : 'Application',
|
||||
'application/vnd.ms-office' : 'Microsoft Office document',
|
||||
'application/vnd.ms-word' : 'Microsoft Word document',
|
||||
'application/vnd.ms-excel' : 'Microsoft Excel document',
|
||||
'application/vnd.ms-powerpoint' : 'Microsoft Powerpoint presentation',
|
||||
'application/pdf' : 'Portable Document Format (PDF)',
|
||||
'application/vnd.oasis.opendocument.text' : 'Open Office document',
|
||||
'application/x-shockwave-flash' : 'Flash application',
|
||||
'application/xml' : 'XML document',
|
||||
'application/x-bittorrent' : 'Bittorrent file',
|
||||
'application/x-7z-compressed' : '7z archive',
|
||||
'application/x-tar' : 'TAR archive',
|
||||
'application/x-gzip' : 'GZIP archive',
|
||||
'application/x-bzip2' : 'BZIP archive',
|
||||
'application/zip' : 'ZIP archive',
|
||||
'application/x-rar' : 'RAR archive',
|
||||
'application/javascript' : 'Javascript application',
|
||||
'text/plain' : 'Plain text',
|
||||
'text/x-php' : 'PHP source',
|
||||
'text/html' : 'HTML document',
|
||||
'text/javascript' : 'Javascript source',
|
||||
'text/css' : 'CSS style sheet',
|
||||
'text/rtf' : 'Rich Text Format (RTF)',
|
||||
'text/rtfd' : 'RTF with attachments (RTFD)',
|
||||
'text/x-c' : 'C source',
|
||||
'text/x-c++' : 'C++ source',
|
||||
'text/x-shellscript' : 'Unix shell script',
|
||||
'text/x-python' : 'Python source',
|
||||
'text/x-java' : 'Java source',
|
||||
'text/x-ruby' : 'Ruby source',
|
||||
'text/x-perl' : 'Perl script',
|
||||
'text/xml' : 'XML document',
|
||||
'image/x-ms-bmp' : 'BMP image',
|
||||
'image/jpeg' : 'JPEG image',
|
||||
'image/gif' : 'GIF Image',
|
||||
'image/png' : 'PNG image',
|
||||
'image/x-targa' : 'TGA image',
|
||||
'image/tiff' : 'TIFF image',
|
||||
'image/vnd.adobe.photoshop' : 'Adobe Photoshop image',
|
||||
'audio/mpeg' : 'MPEG audio',
|
||||
'audio/midi' : 'MIDI audio',
|
||||
'audio/ogg' : 'Ogg Vorbis audio',
|
||||
'audio/mp4' : 'MP4 audio',
|
||||
'audio/wav' : 'WAV audio',
|
||||
'video/x-dv' : 'DV video',
|
||||
'video/mp4' : 'MP4 video',
|
||||
'video/mpeg' : 'MPEG video',
|
||||
'video/x-msvideo' : 'AVI video',
|
||||
'video/quicktime' : 'Quicktime video',
|
||||
'video/x-ms-wmv' : 'WM video',
|
||||
'video/x-flv' : 'Flash video',
|
||||
'video/x-matroska' : 'Matroska video'
|
||||
}
|
||||
|
||||
this.tlb = $('<ul />');
|
||||
|
||||
this.nav = $('<div class="el-finder-nav"/>').resizable({handles : 'e', autoHide : true, minWidth : 200, maxWidth: 500});
|
||||
this.cwd = $('<div class="el-finder-cwd"/>').attr('unselectable', 'on');
|
||||
this.spn = $('<div class="el-finder-spinner"/>');
|
||||
this.err = $('<p class="el-finder-err"><strong/></p>').click(function() { $(this).hide(); });
|
||||
this.nfo = $('<div class="el-finder-stat"/>');
|
||||
this.pth = $('<div class="el-finder-path"/>');
|
||||
this.sel = $('<div class="el-finder-sel"/>');
|
||||
this.stb = $('<div class="el-finder-statusbar"/>')
|
||||
.append(this.pth)
|
||||
.append(this.nfo)
|
||||
.append(this.sel);
|
||||
this.wrz = $('<div class="el-finder-workzone" />')
|
||||
.append(this.nav)
|
||||
.append(this.cwd)
|
||||
.append(this.spn)
|
||||
.append(this.err)
|
||||
.append('<div style="clear:both" />');
|
||||
this.win = $(el).empty().attr('id', this.fm.id).addClass('el-finder '+(fm.options.cssClass||''))
|
||||
.append($('<div class="el-finder-toolbar" />').append(this.tlb))
|
||||
.append(this.wrz)
|
||||
.append(this.stb);
|
||||
|
||||
this.tree = $('<ul class="el-finder-tree"></ul>').appendTo(this.nav);
|
||||
this.plc = $('<ul class="el-finder-places"><li><a href="#" class="el-finder-places-root"><div/>'+this.fm.i18n(this.fm.options.places)+'</a><ul/></li></ul>').hide();
|
||||
|
||||
this.nav[this.fm.options.placesFirst ? 'prepend' : 'append'](this.plc);
|
||||
|
||||
/*
|
||||
* Render ajax spinner
|
||||
*/
|
||||
this.spinner = function(show) {
|
||||
this.win.toggleClass('el-finder-disabled', show);
|
||||
this.spn.toggle(show);
|
||||
}
|
||||
|
||||
/*
|
||||
* Display ajax error
|
||||
*/
|
||||
this.fatal = function(t) {
|
||||
self.error(t.status != '404' ? 'Invalid backend configuration' : 'Unable to connect to backend')
|
||||
}
|
||||
|
||||
/*
|
||||
* Render error
|
||||
*/
|
||||
this.error = function(err, data) {
|
||||
this.fm.lock();
|
||||
this.err.show().children('strong').html(this.fm.i18n(err)+'!'+this.formatErrorData(data));
|
||||
setTimeout(function() { self.err.fadeOut('slow'); }, 4000);
|
||||
}
|
||||
|
||||
/*
|
||||
* Render navigation panel with dirs tree
|
||||
*/
|
||||
this.renderNav = function(tree) {
|
||||
var d = tree.dirs.length ? traverse(tree.dirs) : '',
|
||||
li = '<li><a href="#" class="el-finder-tree-root" key="'+tree.hash+'"><div'+(d ? ' class="collapsed expanded"' : '')+'/>'+tree.name+'</a>'+d+'</li>';
|
||||
this.tree.html(li);
|
||||
|
||||
this.fm.options.places && this.renderPlaces();
|
||||
|
||||
function traverse(tree) {
|
||||
var i, hash, c, html = '<ul style="display:none">';
|
||||
for (i=0; i < tree.length; i++) {
|
||||
if (!tree[i].name || !tree[i].hash) {
|
||||
continue;
|
||||
}
|
||||
c = '';
|
||||
if (!tree[i].read && !tree[i].write) {
|
||||
c = 'noaccess';
|
||||
} else if (!tree[i].read) {
|
||||
c = 'dropbox';
|
||||
} else if (!tree[i].write) {
|
||||
c = 'readonly';
|
||||
}
|
||||
|
||||
html += '<li><a href="#" class="'+c+'" key="'+tree[i].hash+'"><div'+(tree[i].dirs.length ? ' class="collapsed"' : '')+'/>'+tree[i].name+'</a>';
|
||||
|
||||
if (tree[i].dirs.length) {
|
||||
html += traverse(tree[i].dirs);
|
||||
}
|
||||
html += '</li>';
|
||||
}
|
||||
return html +'</ul>';
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Render places
|
||||
*/
|
||||
this.renderPlaces = function() {
|
||||
var i, c,
|
||||
pl = this.fm.getPlaces(),
|
||||
ul = this.plc.show().find('ul').empty().hide();
|
||||
$('div:first', this.plc).removeClass('collapsed expanded');
|
||||
|
||||
if (pl.length) {
|
||||
pl.sort(function(a, b) {
|
||||
var _a = self.tree.find('a[key="'+a+'"]').text()||'',
|
||||
_b = self.tree.find('a[key="'+b+'"]').text()||'';
|
||||
return _a.localeCompare(_b);
|
||||
});
|
||||
|
||||
for (i=0; i < pl.length; i++) {
|
||||
if ((c = this.tree.find('a[key="'+pl[i]+'"]:not(.dropbox)').parent()) && c.length) {
|
||||
ul.append(c.clone().children('ul').remove().end().find('div').removeClass('collapsed expanded').end());
|
||||
} else {
|
||||
this.fm.removePlace(pl[i]);
|
||||
}
|
||||
};
|
||||
ul.children().length && $('div:first', this.plc).addClass('collapsed');
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Render current directory
|
||||
*/
|
||||
this.renderCwd = function() {
|
||||
this.cwd.empty();
|
||||
|
||||
var num = 0, size = 0, html = '';
|
||||
for (var hash in this.fm.cdc) {
|
||||
num++;
|
||||
size += this.fm.cdc[hash].size;
|
||||
html += this.fm.options.view == 'icons'
|
||||
? this.renderIcon(this.fm.cdc[hash])
|
||||
: this.renderRow(this.fm.cdc[hash], num%2);
|
||||
}
|
||||
if (this.fm.options.view == 'icons') {
|
||||
this.cwd.append(html);
|
||||
} else {
|
||||
this.cwd.append('<table><tr><th colspan="2">'+this.fm.i18n('Name')+'</th><th>'+this.fm.i18n('Permissions')+'</th><th>'+this.fm.i18n('Modified')+'</th><th class="size">'+this.fm.i18n('Size')+'</th><th>'+this.fm.i18n('Kind')+'</th></tr>'+html+'</table>');
|
||||
}
|
||||
|
||||
this.pth.text(fm.cwd.rel);
|
||||
this.nfo.text(fm.i18n('items')+': '+num+', '+this.formatSize(size));
|
||||
this.sel.empty();
|
||||
}
|
||||
|
||||
/*
|
||||
* Render one file as icon
|
||||
*/
|
||||
this.renderIcon = function(f) {
|
||||
var str = '<p'+(f.tmb ? ' style="'+"background:url('"+f.tmb+"') 0 0 no-repeat"+'"' : '')+'/><label>'+this.formatName(f.name)+'</label>';
|
||||
if (f.link || f.mime == 'symlink-broken') {
|
||||
str += '<em/>';
|
||||
}
|
||||
if (!f.read && !f.write) {
|
||||
str += '<em class="noaccess"/>';
|
||||
} else if (f.read && !f.write) {
|
||||
str += '<em class="readonly"/>';
|
||||
} else if (!f.read && f.write) {
|
||||
str += '<em class="'+(f.mime == 'directory' ? 'dropbox' :'noread')+'" />';
|
||||
}
|
||||
return '<div class="'+this.mime2class(f.mime)+'" key="'+f.hash+'">'+str+'</div>';
|
||||
}
|
||||
|
||||
/*
|
||||
* Render one file as table row
|
||||
*/
|
||||
this.renderRow = function(f, odd) {
|
||||
var str = f.link || f.mime =='symlink-broken' ? '<em/>' : '';
|
||||
if (!f.read && !f.write) {
|
||||
str += '<em class="noaccess"/>';
|
||||
} else if (f.read && !f.write) {
|
||||
str += '<em class="readonly"/>';
|
||||
} else if (!f.read && f.write) {
|
||||
str += '<em class="'+(f.mime == 'directory' ? 'dropbox' :'noread')+'" />';
|
||||
}
|
||||
return '<tr key="'+f.hash+'" class="'+self.mime2class(f.mime)+(odd ? ' el-finder-row-odd' : '')+'"><td class="icon"><p>'+str+'</p></td><td>'+f.name+'</td><td>'+self.formatPermissions(f.read, f.write, f.rm)+'</td><td>'+self.formatDate(f.date)+'</td><td class="size">'+self.formatSize(f.size)+'</td><td>'+self.mime2kind(f.link ? 'symlink' : f.mime)+'</td></tr>';
|
||||
}
|
||||
|
||||
/*
|
||||
* Re-render file (after editing)
|
||||
*/
|
||||
this.updateFile = function(f) {
|
||||
var e = this.cwd.find('[key="'+f.hash+'"]');
|
||||
e.replaceWith(e[0].nodeName == 'DIV' ? this.renderIcon(f) : this.renderRow(f));
|
||||
}
|
||||
|
||||
/*
|
||||
* Update info about selected files
|
||||
*/
|
||||
this.selectedInfo = function() {
|
||||
var i, s = 0, sel;
|
||||
|
||||
if (self.fm.selected.length) {
|
||||
sel = this.fm.getSelected();
|
||||
for (i=0; i<sel.length; i++) {
|
||||
s += sel[i].size;
|
||||
}
|
||||
}
|
||||
this.sel.text(i>0 ? this.fm.i18n('selected items')+': '+sel.length+', '+this.formatSize(s) : '');
|
||||
}
|
||||
|
||||
/*
|
||||
* Return wraped file name if needed
|
||||
*/
|
||||
this.formatName = function(n) {
|
||||
var w = self.fm.options.wrap;
|
||||
if (w>0) {
|
||||
if (n.length > w*2) {
|
||||
return n.substr(0, w)+"­"+n.substr(w, w-5)+"…"+n.substr(n.length-3);
|
||||
} else if (n.length > w) {
|
||||
return n.substr(0, w)+"­"+n.substr(w);
|
||||
}
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
/*
|
||||
* Return error message
|
||||
*/
|
||||
this.formatErrorData = function(data) {
|
||||
var i, err = ''
|
||||
if (typeof(data) == 'object') {
|
||||
err = '<br />';
|
||||
for (i in data) {
|
||||
err += i+' '+self.fm.i18n(data[i])+'<br />';
|
||||
}
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
/*
|
||||
* Convert mimetype into css class
|
||||
*/
|
||||
this.mime2class = function(mime) {
|
||||
return mime.replace('/' , ' ').replace(/\./g, '-');
|
||||
}
|
||||
|
||||
/*
|
||||
* Return localized date
|
||||
*/
|
||||
this.formatDate = function(d) {
|
||||
return d.replace(/([a-z]+)\s/i, function(a1, a2) { return self.fm.i18n(a2)+' '; });
|
||||
}
|
||||
|
||||
/*
|
||||
* Return formated file size
|
||||
*/
|
||||
this.formatSize = function(s) {
|
||||
var n = 1, u = 'bytes';
|
||||
if (s > 1073741824) {
|
||||
n = 1073741824;
|
||||
u = 'Gb';
|
||||
} else if (s > 1048576) {
|
||||
n = 1048576;
|
||||
u = 'Mb';
|
||||
} else if (s > 1024) {
|
||||
n = 1024;
|
||||
u = 'Kb';
|
||||
}
|
||||
return Math.round(s/n)+' '+u;
|
||||
}
|
||||
|
||||
/*
|
||||
* Return localized string with file permissions
|
||||
*/
|
||||
this.formatPermissions = function(r, w, rm) {
|
||||
var p = [];
|
||||
r && p.push(self.fm.i18n('read'));
|
||||
w && p.push(self.fm.i18n('write'));
|
||||
rm && p.push(self.fm.i18n('remove'));
|
||||
return p.join('/');
|
||||
}
|
||||
|
||||
/*
|
||||
* Return kind of file
|
||||
*/
|
||||
this.mime2kind = function(mime) {
|
||||
return this.fm.i18n(this.kinds[mime]||'unknown');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
201
simpla/design/js/elfinder/src/js/i18n/elfinder.YOUR_LANG.js
Normal file
@@ -0,0 +1,201 @@
|
||||
/*
|
||||
* WARNING! You this file if you want to make your own translation
|
||||
*/
|
||||
/*
|
||||
* YOUR_LANGUAGE_TRANSLATION translation
|
||||
* @author NAME <EMAIL>
|
||||
* @version 201x-xx-xx
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.TWO_LETTER_LANG_CODE = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : '',
|
||||
'Unable to connect to backend' : '',
|
||||
'Access denied' : '',
|
||||
'Invalid backend configuration' : '',
|
||||
'Unknown command' : '',
|
||||
'Command not allowed' : '',
|
||||
'Invalid parameters' : '',
|
||||
'File not found' : '',
|
||||
'Invalid name' : '',
|
||||
'File or folder with the same name already exists' : '',
|
||||
'Unable to rename file' : '',
|
||||
'Unable to create folder' : '',
|
||||
'Unable to create file' : '',
|
||||
'No file to upload' : '',
|
||||
'Select at least one file to upload' : '',
|
||||
'File exceeds the maximum allowed filesize' : '',
|
||||
'Data exceeds the maximum allowed size' : '',
|
||||
'Not allowed file type' : '',
|
||||
'Unable to upload file' : '',
|
||||
'Unable to upload files' : '',
|
||||
'Unable to remove file' : '',
|
||||
'Unable to save uploaded file' : '',
|
||||
'Some files was not uploaded' : '',
|
||||
'Unable to copy into itself' : '',
|
||||
'Unable to move files' : '',
|
||||
'Unable to copy files' : '',
|
||||
'Unable to create file copy' : '',
|
||||
'File is not an image' : '',
|
||||
'Unable to resize image' : '',
|
||||
'Unable to write to file' : '',
|
||||
'Unable to create archive' : '',
|
||||
'Unable to extract files from archive' : '',
|
||||
'Unable to open broken link' : '',
|
||||
'File URL disabled by connector config' : '',
|
||||
/* statusbar */
|
||||
'items' : '',
|
||||
'selected items' : '',
|
||||
/* commands/buttons */
|
||||
'Back' : '',
|
||||
'Reload' : '',
|
||||
'Open' : '',
|
||||
'Preview with Quick Look' : '',
|
||||
'Select file' : '',
|
||||
'New folder' : '',
|
||||
'New text file' : '',
|
||||
'Upload files' : '',
|
||||
'Copy' : '',
|
||||
'Cut' : '',
|
||||
'Paste' : '',
|
||||
'Duplicate' : '',
|
||||
'Remove' : '',
|
||||
'Rename' : '',
|
||||
'Edit text file' : '',
|
||||
'View as icons' : '',
|
||||
'View as list' : '',
|
||||
'Resize image' : '',
|
||||
'Create archive' : '',
|
||||
'Uncompress archive' : '',
|
||||
'Get info' : '',
|
||||
'Help' : '',
|
||||
'Dock/undock filemanager window' : '',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : '',
|
||||
'Add field' : '',
|
||||
'File info' : '',
|
||||
'Folder info' : '',
|
||||
'Name' : '',
|
||||
'Kind' : '',
|
||||
'Size' : '',
|
||||
'Modified' : '',
|
||||
'Permissions' : '',
|
||||
'Link to' : '',
|
||||
'Dimensions' : '',
|
||||
'Confirmation required' : '',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : '',
|
||||
/* permissions */
|
||||
'read' : '',
|
||||
'write' : '',
|
||||
'remove' : '',
|
||||
/* dates */
|
||||
'Jan' : '',
|
||||
'Feb' : '',
|
||||
'Mar' : '',
|
||||
'Apr' : '',
|
||||
'May' : '',
|
||||
'Jun' : '',
|
||||
'Jul' : '',
|
||||
'Aug' : '',
|
||||
'Sep' : '',
|
||||
'Oct' : '',
|
||||
'Nov' : '',
|
||||
'Dec' : '',
|
||||
'Today' : '',
|
||||
'Yesterday' : '',
|
||||
/* mimetypes */
|
||||
'Unknown' : '',
|
||||
'Folder' : '',
|
||||
'Alias' : '',
|
||||
'Broken alias' : '',
|
||||
'Plain text' : '',
|
||||
'Postscript document' : '',
|
||||
'Application' : '',
|
||||
'Microsoft Office document' : '',
|
||||
'Microsoft Word document' : '',
|
||||
'Microsoft Excel document' : '',
|
||||
'Microsoft Powerpoint presentation' : '',
|
||||
'Open Office document' : '',
|
||||
'Flash application' : '',
|
||||
'XML document' : '',
|
||||
'Bittorrent file' : '',
|
||||
'7z archive' : '',
|
||||
'TAR archive' : '',
|
||||
'GZIP archive' : '',
|
||||
'BZIP archive' : '',
|
||||
'ZIP archive' : '',
|
||||
'RAR archive' : '',
|
||||
'Javascript application' : '',
|
||||
'PHP source' : '',
|
||||
'HTML document' : '',
|
||||
'Javascript source' : '',
|
||||
'CSS style sheet' : '',
|
||||
'C source' : '',
|
||||
'C++ source' : '',
|
||||
'Unix shell script' : '',
|
||||
'Python source' : '',
|
||||
'Java source' : '',
|
||||
'Ruby source' : '',
|
||||
'Perl script' : '',
|
||||
'BMP image' : '',
|
||||
'JPEG image' : '',
|
||||
'GIF Image' : '',
|
||||
'PNG Image' : '',
|
||||
'TIFF image' : '',
|
||||
'TGA image' : '',
|
||||
'Adobe Photoshop image' : '',
|
||||
'MPEG audio' : '',
|
||||
'MIDI audio' : '',
|
||||
'Ogg Vorbis audio' : '',
|
||||
'MP4 audio' : '',
|
||||
'WAV audio' : '',
|
||||
'DV video' : '',
|
||||
'MP4 video' : '',
|
||||
'MPEG video' : '',
|
||||
'AVI video' : '',
|
||||
'Quicktime video' : '',
|
||||
'WM video' : '',
|
||||
'Flash video' : '',
|
||||
'Matroska video' : '',
|
||||
// 'Shortcuts' : '',
|
||||
'Select all files' : '',
|
||||
'Copy/Cut/Paste files' : '',
|
||||
'Open selected file/folder' : '',
|
||||
'Open/close QuickLook window' : '',
|
||||
'Remove selected files' : '',
|
||||
'Selected files or current directory info' : '',
|
||||
'Create new directory' : '',
|
||||
'Open upload files form' : '',
|
||||
'Select previous file' : '',
|
||||
'Select next file' : '',
|
||||
'Return into previous folder' : '',
|
||||
'Increase/decrease files selection' : '',
|
||||
'Authors' : '',
|
||||
'Sponsors' : '',
|
||||
'elFinder: Web file manager' : '',
|
||||
'Version' : '',
|
||||
'Copyright: Studio 42 LTD' : '',
|
||||
'Donate to support project development' : '',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : '',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : '',
|
||||
'Design: Valentin Razumnih' : '',
|
||||
'Spanish localization' : '',
|
||||
'Chezh localization' : '',
|
||||
'Chinese (traditional) localization': '',
|
||||
'Dutch localization' : '',
|
||||
'Greek localization' : '',
|
||||
'Hungarian localization' : '',
|
||||
'Italian localization' : '',
|
||||
'Latvian localization' : '',
|
||||
'Poland localization' : '',
|
||||
'Icons' : '',
|
||||
'License: BSD License' : '',
|
||||
'elFinder documentation' : '',
|
||||
'Simple and usefull Content Management System' : '',
|
||||
'Support project development and we will place here info about you' : '',
|
||||
'Contacts us if you need help integrating elFinder in you products' : '',
|
||||
'elFinder support following shortcuts' : '',
|
||||
'helpText' : 'elFinder works similar to file manager on your computer. <br> To make actions on files/folders use icons on top panel. If icon action it is not clear for you, hold mouse cursor over it to see the hint. <br> Manipulations with existing files/folders can be done through the context menu (mouse right-click).<br> To copy/delete a group of files/folders, select them using Shift/Alt(Command) + mouse left-click.'
|
||||
};
|
||||
})(jQuery);
|
||||
192
simpla/design/js/elfinder/src/js/i18n/elfinder.cs.js
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Czech translation
|
||||
* @author Roman Matěna <info@romanmatena.cz>
|
||||
* @author Michal Marek <mich.marek@gmail.com>
|
||||
* @author Jakub Olexa <olexa@xland.cz>
|
||||
* @version 2011-03-11
|
||||
*/
|
||||
(function($) {
|
||||
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
|
||||
elFinder.prototype.options.i18n.cs = {
|
||||
/* errors */
|
||||
'Root directory does not exists' : 'Kořenový adresář neexistuje',
|
||||
'Unable to connect to backend' : 'Nepodařilo se spojit se serverem',
|
||||
'Access denied' : 'Přístup zamítnut',
|
||||
'Invalid backend configuration' : 'Nesprávná konfigurace serveru',
|
||||
'Unknown command' : 'Neznámý příkaz',
|
||||
'Command not allowed' : 'Příkaz není povolen',
|
||||
'Invalid parameters' : 'Nespárvné parametry',
|
||||
'File not found' : 'Soubor nenalezen',
|
||||
'Invalid name' : 'Neplatný název',
|
||||
'File or folder with the same name already exists' : 'Soubor nebo složka se stejným názvem již existuje',
|
||||
'Unable to rename file' : 'Nepodařilo se přejmenovat soubor',
|
||||
'Unable to create folder' : 'Nepodařilo se založit složku',
|
||||
'Unable to create file' : 'Nepodařilo se vytvořit soubor',
|
||||
'No file to upload' : 'Žádné soubory k nahrání',
|
||||
'Select at least one file to upload' : 'Vyberte alespoň jeden soubor k nahrání',
|
||||
'File exceeds the maximum allowed filesize' : 'Soubor překračuje maximální povolenou velikost',
|
||||
'Data exceeds the maximum allowed size' : 'Data překračují maximální povolenou velikost',
|
||||
'Not allowed file type' : 'Tento typ souborů není povolen',
|
||||
'Unable to upload file' : 'Nepodařilo se nahrát soubor',
|
||||
'Unable to upload files' : 'Nepodařilo se nahrát soubory',
|
||||
'Unable to remove file' : 'Nepodařilo se smazat soubor',
|
||||
'Unable to save uploaded file' : 'Nepodařilo se uložit nahraný soubor',
|
||||
'Some files was not uploaded' : 'Některé soubory nebyly nahrány',
|
||||
'Unable to copy into itself' : 'Nelze kopírovat do sebe samého',
|
||||
'Unable to move files' : 'Nepodařilo se přesunout soubory',
|
||||
'Unable to copy files' : 'Nepodařilo se zkopírovat soubory',
|
||||
'Unable to create file copy' : 'Nepodařilo se vytvořit kopii souboru',
|
||||
'File is not an image' : 'Soubor není obrázek',
|
||||
'Unable to resize image' : 'Obrázek se nepodařilo zmenšit',
|
||||
'Unable to write to file' : 'Nepodařil se zápis do souboru',
|
||||
'Unable to create archive' : 'Nepodařilo se vytváření archivu',
|
||||
'Unable to extract files from archive' : 'Nepodařilo se rozbalování archivu',
|
||||
'Unable to open broken link' : 'Nelze otevřít nefunkční odkaz',
|
||||
'File URL disabled by connector config' : 'URL adresy souborů jsou zakázány konfigurací',
|
||||
/* statusbar */
|
||||
'items' : 'položek',
|
||||
'selected items' : 'označených položek',
|
||||
/* commands/buttons */
|
||||
'Back' : 'Zpět',
|
||||
'Reload' : 'Obnovit',
|
||||
'Open' : 'Otevřít',
|
||||
'Preview with Quick Look' : 'Zobrazit náhled',
|
||||
'Select file' : 'Označit soubor',
|
||||
'New folder' : 'Nová složka',
|
||||
'New text file' : 'Nový textový soubor',
|
||||
'Upload files' : 'Nahrát soubory',
|
||||
'Copy' : 'Kopírovat',
|
||||
'Cut' : 'Vyjmout',
|
||||
'Paste' : 'Vložit',
|
||||
'Duplicate' : 'Duplikovat',
|
||||
'Remove' : 'Odstranit',
|
||||
'Rename' : 'Přejmenovat',
|
||||
'Edit text file' : 'Upravit textový dokument',
|
||||
'View as icons' : 'Zobrazit ikony',
|
||||
'View as list' : 'Zobrazit seznam',
|
||||
'Resize image' : 'Upravit velikost',
|
||||
'Create archive' : 'Vytvořit archiv',
|
||||
'Uncompress archive' : 'Rozbalit archiv',
|
||||
'Get info' : 'Informace',
|
||||
'Help' : 'Nápověda',
|
||||
'Dock/undock filemanger window' : 'Dokovat/oddokovat okno správce souborů',
|
||||
/* upload/get info dialogs */
|
||||
'Maximum allowed files size' : 'Maximální povolená velikost souborů',
|
||||
'Add field' : 'Přidat pole',
|
||||
'File info' : 'Informace o souboru',
|
||||
'Folder info' : 'Informace o složce',
|
||||
'Name' : 'Název',
|
||||
'Kind' : 'Druh',
|
||||
'Size' : 'Velikost',
|
||||
'Modified' : 'Upraveno',
|
||||
'Permissions' : 'Práva',
|
||||
'Link to' : 'Odkaz na',
|
||||
'Dimensions' : 'Rozměry',
|
||||
'Confirmation required' : 'Vyžadováno potvrzení',
|
||||
'Are you sure you want to remove files?<br /> This cannot be undone!' : 'Jse si jist, že chcete odstranit soubory?<br />Tato operace je nevratná!',
|
||||
/* permissions */
|
||||
'read' : 'čtení',
|
||||
'write' : 'zápis',
|
||||
'remove' : 'mazání',
|
||||
/* dates */
|
||||
'Jan' : 'Led',
|
||||
'Feb' : 'Úno',
|
||||
'Mar' : 'Bře',
|
||||
'Apr' : 'Dub',
|
||||
'May' : 'Kvě',
|
||||
'Jun' : 'Čer',
|
||||
'Jul' : 'Čec',
|
||||
'Aug' : 'Srp',
|
||||
'Sep' : 'Zář',
|
||||
'Oct' : 'Říj',
|
||||
'Nov' : 'Lis',
|
||||
'Dec' : 'Pro',
|
||||
'Today' : 'Dnes',
|
||||
'Yesterday' : 'Včera',
|
||||
/* mimetypes */
|
||||
'Unknown' : 'Neznámý',
|
||||
'Folder' : 'Složka',
|
||||
'Alias' : 'Odkaz',
|
||||
'Broken alias' : 'Nefunkční odkaz',
|
||||
'Plain text' : 'Textový dokument',
|
||||
'Postscript document' : 'Postscript dokument',
|
||||
'Application' : 'Aplikace',
|
||||
'Microsoft Office document' : 'Dokument Microsoft Office',
|
||||
'Microsoft Word document' : 'Dokument Microsoft Word',
|
||||
'Microsoft Excel document' : 'Sešit Microsoft Excel',
|
||||
'Microsoft Powerpoint presentation' : 'Prezentace Microsoft Powerpoint',
|
||||
'Open Office document' : 'Dokument Open Office',
|
||||
'Flash application' : 'Aplikace Flash',
|
||||
'XML document' : 'Dokument XML',
|
||||
'Bittorrent file' : 'Bittorrent soubor',
|
||||
'7z archive' : 'Archiv 7z',
|
||||
'TAR archive' : 'Archiv TAR',
|
||||
'GZIP archive' : 'Archiv GZIP',
|
||||
'BZIP archive' : 'Archiv BZIP',
|
||||
'ZIP archive' : 'Archiv ZIP',
|
||||
'RAR archive' : 'Archiv RAR',
|
||||
'Javascript application' : 'Aplikace Javascript',
|
||||
'PHP source' : 'Zdroják PHP',
|
||||
'HTML document' : 'Dokument HTML',
|
||||
'Javascript source' : 'Zdroják Javascript',
|
||||
'CSS style sheet' : 'CSS style sheet',
|
||||
'C source' : 'Zdroják C',
|
||||
'C++ source' : 'Zdroják C++',
|
||||
'Unix shell script' : 'Skript Unix shell',
|
||||
'Python source' : 'Zdroják Python',
|
||||
'Java source' : 'Zdroják Java',
|
||||
'Ruby source' : 'Zdroják Ruby',
|
||||
'Perl script' : 'Skript Perl',
|
||||
'BMP image' : 'Obrázek BMP',
|
||||
'JPEG image' : 'Obrázek JPEG',
|
||||
'GIF Image' : 'Obrázek GIF',
|
||||
'PNG Image' : 'Obrázek PNG',
|
||||
'TIFF image' : 'Obrázek TIFF',
|
||||
'TGA image' : 'Obrázek TGA',
|
||||
'Adobe Photoshop image' : 'Obrázek Adobe Photoshop',
|
||||
'MPEG audio' : 'MPEG nahrávka',
|
||||
'MIDI audio' : 'MIDI skladba',
|
||||
'Ogg Vorbis audio' : 'Nahrávka Ogg Vorbis',
|
||||
'MP4 audio' : 'Nahrávka MP4',
|
||||
'WAV audio' : 'Nahrávka WAV',
|
||||
'DV video' : 'Video DV',
|
||||
'MP4 video' : 'Video MP4',
|
||||
'MPEG video' : 'Video MPEG',
|
||||
'AVI video' : 'Video AVI',
|
||||
'Quicktime video' : 'Video Quicktime',
|
||||
'WM video' : 'Video WM',
|
||||
'Flash video' : 'Video Flash',
|
||||
'Matroska video' : 'Video Matroska',
|
||||
// 'Shortcuts' : 'Zkratky',
|
||||
'Select all files' : 'Označit všechny soubory',
|
||||
'Copy/Cut/Paste files' : 'Kopírovat/Vyjmout/Vložit soubory',
|
||||
'Open selected file/folder' : 'Oteřít zvolený soubor/složku',
|
||||
'Open/close QuickLook window' : 'Otevřít/zavřít okno náhledu',
|
||||
'Remove selected files' : 'Smazat označené soubory',
|
||||
'Selected files or current directory info' : 'Informace o zvolených souborech nebo aktuální složce',
|
||||
'Create new directory' : 'Vytvořit novou složku',
|
||||
'Open upload files form' : 'Otevřit okno pro nahrávání souborů',
|
||||
'Select previous file' : 'Vybrat předchozí soubor',
|
||||
'Select next file' : 'Vybrat následující soubor',
|
||||
'Return into previous folder' : 'Návrat do předchozí složky',
|
||||
'Increase/decrease files selection' : 'Rozšířit/zůžit výběr souborů',
|
||||
'Authors' : 'Autoři',
|
||||
'Sponsors' : 'Sponzoři',
|
||||
'elFinder: Web file manager' : 'elFinder: Webový správce souborů',
|
||||
'Version' : 'Verze',
|
||||
'Copyright: Studio 42 LTD' : 'Copyright: Studio 42 Ltd',
|
||||
'Donate to support project development' : 'Přispějte na další vývoj projektu',
|
||||
'Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru' : 'Javascripty/php programování: Dmitry (dio) Levashov, dio@std42.ru',
|
||||
'Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru' : 'Python programování, technická podpora: Troex Nevelin, troex@fury.scancode.ru',
|
||||
'Design: Valentin Razumnih' : 'Design: Valentin Razumnih',
|
||||
'Spanish localization' : 'Český překlad: Xland. CZ, helpdesk@xland.cz',
|
||||
'Icons' : 'Ikony',
|
||||
'License: BSD License' : 'Licence: BSD License',
|
||||
'elFinder documentation' : 'Dokumentace elFinder',
|
||||
'Simple and usefull Content Management System' : 'Jednoduchý Content Management Systém',
|
||||
'Support project development and we will place here info about you' : 'Podpořte tento projekt a my vás zde zmíníme',
|
||||
'Contacts us if you need help integrating elFinder in you products' : 'Kontaktujte nás, pokud potřebujete pomoci s integrací elFinderu do vašeho produktu',
|
||||
'elFinder support following shortcuts' : 'elFinder podporuje následující zkratky',
|
||||
'helpText' : 'elFinder funguje stejně jako správce souborů ve vašem počítači.<br />Operace se provádějí pomoci tlačítek na horní liště. Pokud vám není jasný význam ikony, podržte nad ní myš a zobrazí se vám nápověda.<br/>Operace s existujícími soubory/složkami lze provádět pomocí kontextového menu (kliněte prvým tlačítkem myši).<br/> Pro hromadné kopírování/mazání souborů/adresářů je označte podržením klávesy Shift/Alt + kliknutím levého tlačítka myši.'
|
||||
};
|
||||
})(jQuery);
|
||||