Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Arabic translations #175

Open
wants to merge 136 commits into
base: 2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
8000e6f
3.0-dev
sunhater Feb 8, 2014
911b472
Type fix
sunhater Feb 8, 2014
9f9d9a4
3.0-dev fix 2
sunhater Feb 8, 2014
15843c7
New v3 licenses
sunhater Feb 8, 2014
e426e92
3.0-dev fix 3
sunhater Feb 11, 2014
d5335a3
3.0-dev update 1
sunhater Feb 14, 2014
5438055
3.0-dev update2
sunhater Feb 14, 2014
41d8228
3.0-dev update 2.1
sunhater Feb 14, 2014
b056cc5
3.0-dev update 3
sunhater Feb 18, 2014
b4e25ba
3.0-dev update 3.1
sunhater Feb 19, 2014
6c7da8f
3.0-dev update 3.2
sunhater Feb 19, 2014
19a810e
3.0-dev update 4
sunhater Feb 22, 2014
405841f
3.0-dev update 4.1
sunhater Feb 22, 2014
eeca945
3.0-dev update 4.2
sunhater Feb 23, 2014
86a721e
3.0-dev update 4.21
sunhater Feb 23, 2014
1a498b5
3.0-dev update 5
sunhater Mar 8, 2014
183b5d0
3.0-dev update 5.1
sunhater Mar 8, 2014
fd13140
3.0-dev update 5.2
sunhater Mar 9, 2014
f7f0de2
3.0-dev commit fix 1
sunhater Mar 9, 2014
fb3f28d
3.0-dev commit fix 2
sunhater Mar 9, 2014
946757c
3.0-dev commit fix 3
sunhater Mar 9, 2014
a2cccf3
3.0-dev update 6
sunhater Mar 11, 2014
c9344b9
3.0-dev1
sunhater Mar 11, 2014
b689309
3.0-dev1
sunhater Mar 11, 2014
8bc715a
3.0-dev1
sunhater Mar 11, 2014
71d8cf0
3.0-dev1 update 1
sunhater Mar 15, 2014
656d972
3.0-dev1 update 2
sunhater Mar 16, 2014
4618dbf
3.0-dev1 update 2.1
sunhater Mar 16, 2014
b924b73
latvian translation
sunhater Mar 16, 2014
6671866
3.0-dev1 update 3
sunhater Mar 19, 2014
f8336c5
3.0-dev1 update 3.1
sunhater Mar 20, 2014
d2edbd9
Update Changelog
sunhater Mar 20, 2014
55d0658
.gitignore
sunhater Mar 20, 2014
acd7a04
.gitignore
sunhater Mar 20, 2014
8f7ade0
Danish translation update
sunhater Mar 20, 2014
b3fcea2
3.0-dev1 update 4
sunhater Mar 21, 2014
872e4de
3.0-dev1 update 4.1
sunhater Mar 22, 2014
e43e36f
3.0-dev1 update 5
sunhater Mar 23, 2014
59d7ace
Update ja.php
sunhater Mar 23, 2014
57ec13b
3.0-dev1 update 6
sunhater Mar 25, 2014
dbea697
3.0-dev1 update 7
sunhater Mar 25, 2014
09c26b1
BolmerCMS
AgelxNash Mar 26, 2014
099f5ac
Merge pull request #15 from AgelxNash/master
sunhater Mar 26, 2014
e3ddf2e
3.0-dev1 update 8
sunhater Mar 27, 2014
d32a914
3.0-dev1 update 9
sunhater Mar 29, 2014
4745b16
3.0-dev1 update 10
sunhater Apr 1, 2014
6bf33fd
3.0-dev1 update 11
sunhater Apr 2, 2014
7eef873
3.0-pre1
sunhater Apr 2, 2014
3991982
3.0-pre1 update 1
sunhater Apr 5, 2014
05f1a23
3.0-pre1 update 2
sunhater Apr 5, 2014
15a9b83
3.0
sunhater Apr 8, 2014
8ae4a2e
Update config.php
sunhater Apr 8, 2014
c855e15
syncing
sunhater Apr 8, 2014
bda66d7
3.0
sunhater Apr 8, 2014
5daa200
dark theme
sunhater Apr 11, 2014
791f368
prev commit fix
sunhater Apr 11, 2014
b8ee7e6
fullscreen fixes
sunhater Apr 12, 2014
63ac770
Update tr.php
KursadOlmez Apr 13, 2014
193b6c3
Merge pull request #20 from KursadOlmez/patch-1
sunhater Apr 13, 2014
292eff5
translated five new labels, fixed broken utf-8 "german Umlauts"-chars
Apr 13, 2014
a70998e
Merge pull request #21 from mondjunge/master
sunhater Apr 13, 2014
34bb03d
Russian translation update
DarkPreacher Apr 13, 2014
8eb4916
Merge pull request #22 from DarkPreacher/patch-1
sunhater Apr 13, 2014
d415de3
Update tr.php
sunhater Apr 13, 2014
b8ea78c
HU localozation file updated: added 5 missing translations
Apr 14, 2014
6ee7ba8
Merge pull request #23 from djozsef/master
sunhater Apr 14, 2014
58d4df9
Lithuanian translations
plutzilla Apr 14, 2014
b794467
Merge pull request #24 from plutzilla/master
sunhater Apr 14, 2014
bec5196
Italian update
sunhater Apr 14, 2014
750a655
Indonesian & Afrikaans {fixes}
sunhater Apr 14, 2014
230f98b
Update bg.php
sunhater Apr 14, 2014
31fecdf
Czech update
sunhater Apr 14, 2014
8a0c6fe
Update es.php
jmontoyaa Apr 14, 2014
de8bb8e
Merge pull request #25 from jmontoyaa/patch-1
sunhater Apr 14, 2014
ed07563
Update fr.php
Jiwoks Apr 14, 2014
f42b082
Merge pull request #26 from Jiwoks/master
sunhater Apr 14, 2014
6087f85
Security fixes!
sunhater Apr 15, 2014
9c05af6
Security fixes #2!
sunhater Apr 16, 2014
e2f17d7
Security fixes 3!
sunhater Apr 16, 2014
b23d48e
Security fix 4!
sunhater Apr 16, 2014
fb43926
3.10
sunhater Apr 16, 2014
8409677
3.10
sunhater Apr 16, 2014
13e6b62
3.10
sunhater Apr 16, 2014
a3dc6b8
Normalize filenames fix
sunhater Apr 17, 2014
32177fe
Greek translation update
sunhater Apr 17, 2014
81ed251
Greek translation update
sunhater Apr 17, 2014
ae42820
Creating new folder fix
sunhater Apr 21, 2014
64a3f67
3.11
sunhater Apr 21, 2014
82a9000
3.11
sunhater Apr 21, 2014
d5e8bb8
Update vi.php
ngson2000 Apr 25, 2014
8fcf7b9
Merge pull request #31 from ngson2000/patch-1
sunhater Apr 25, 2014
570ef49
session security fix
sunhater Apr 29, 2014
c22dfa6
session security fix
sunhater Apr 29, 2014
049cdf9
Update nl.php
NextNebula Jun 18, 2014
4f1142e
Update nl.php
NextNebula Jun 18, 2014
6cc35c7
Update nl.php
NextNebula Jun 18, 2014
b26a5f2
Update nl.php
Jun 20, 2014
fe47fd8
Update nl.php
Jun 20, 2014
d424a06
Merge pull request #42 from R1chardTM/master
sunhater Jun 23, 2014
673f506
Security update: Fixed XSS vulnerability
Jun 27, 2014
5013dcb
mp4 icon & mime-type
Jun 27, 2014
0adc140
added taphold event for touchscreen devices
Jun 29, 2014
c49eb82
touchscreen fixes
sunhater Jul 3, 2014
628f05c
More XSS fixes
sunhater Jul 3, 2014
be59684
More XSS fixes
sunhater Jul 4, 2014
29e1eba
Click with Shift key functionality
sunhater Jul 5, 2014
c1a184d
Update README.md
sunhater Jul 5, 2014
5d807b0
Performance fix (about large number of files)
sunhater Jul 5, 2014
56e5499
Upload fix
sunhater Jul 6, 2014
56255cc
Upload fixes
sunhater Jul 6, 2014
6fafb52
Filesystem structure changes
sunhater Jul 6, 2014
e6884a9
Update README.md
sunhater Jul 7, 2014
7d8614f
3.12
sunhater Jul 9, 2014
8b861d4
Update README.md
sunhater Jul 13, 2014
bfbb100
doc_root symlink fix
sunhater Aug 5, 2014
c18bff0
Minor JS fixes
sunhater Aug 5, 2014
9d7a8a4
Fixing border radius when scrollbar exists
sunhater Aug 11, 2014
c433fdb
Drag&Drop upload general changes
sunhater Aug 12, 2014
1c360e1
Drag&Drop upload bugfixes
sunhater Aug 12, 2014
5d01bfa
Drag&Drop images for external web sites
sunhater Aug 12, 2014
1d55709
Drag&Drop upload fix
sunhater Aug 12, 2014
d56c476
Bugfixes
sunhater Aug 14, 2014
62c111e
Image viewer UI improvements
sunhater Aug 15, 2014
37a206a
Image viewer fixes
sunhater Aug 16, 2014
0448848
Added language dropdown in settings bar
sunhater Aug 16, 2014
f74d3bc
Uniform is replaced with transForm; composer.json
sunhater Aug 18, 2014
fa2c987
remove old files
sunhater Aug 18, 2014
8a9c360
Language dropdown fix
sunhater Aug 19, 2014
aa4f340
3.20-test1
sunhater Aug 19, 2014
00db0c0
3.20-test1
sunhater Aug 19, 2014
2a36d5a
jQuery adapter added
sunhater Aug 23, 2014
4d10cb9
3.20-test2
sunhater Aug 24, 2014
e04dd1f
Laravel Administrator integration (#56)
Sep 11, 2014
5f6fcb7
always clean/reset the session variable before reading options
Sep 11, 2014
8ffd517
only clean the session variable if the user is not authenticated anymore
Sep 12, 2014
b645d2a
Merge pull request #60 from frzsombor/la-integration
sunhater Sep 27, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea/*
upload/*
[Tt]humbs.db
*.DS_Store
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# KCFinder web file manager
http://kcfinder.sunhater.com
Pavel Tzonkov ([email protected])

## Overview
KCFinder is free open-source replacement of CKFinder web file manager. It can be integrated into FCKeditor, CKEditor, and TinyMCE WYSIWYG web editors (or your custom web applications) to upload and manage images, flash movies, and other files that can be embedded into an editor's generated HTML content.

## Licenses
* GNU General Public License, version 3
* GNU Lesser General Public License, version 3

## Features
* Ajax engine with JSON responses
* Multiple files upload
* Upload files using HTML5 drag and drop from local file manager
* Drag and drop images from external HTML pages. Multiple images can be dropped using selection (Firefox only)
* Download multiple files or a folder as single ZIP file
* Select multiple files with the Ctrl/Command key
* Clipboard for copying, moving and downloading multiple files
* Easy to integrate and configure in web applications
* Option to select and return several files. For custom applications only
* Resize uploaded images. Configurable maximum image resolution
* PNG watermark support
* Configurable thumbnail resolution
* Automaticaly rotate and/or flip uploaded images depending on the orientation info EXIF tag if it exist
* Multiple themes support
* Multilanguage system
* Preview images in full size

## Compatibility
* KCFinder is officialy tested on Apache 2 web server only, but probably it will work on other web servers.
* PHP 5.3 or better is required. Safe mode should be off.
* At least one of these PHP extensions is required: GD, ImageMagick or GraphicsMagick.
* To work with client-side HTTP cache, the PHP must be installed as Apache module.
* KCFinder supports MIME type recognition for the uploaded files. If you plan to use this feature, you should to load Fileinfo PHP extension.
* PHP ZIP extension should be loaded in order to have an option to download multiple files and directories as single ZIP file.
* Automatic rotating and flipping images requires PHP EXIF extension.
36 changes: 36 additions & 0 deletions adapters/jquery-example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<html>
<head>
<title>KCFinder jQuery Adapter Example</title>
<script src="http://code.jquery.com/jquery-2.0.3.min.js" type="text/javascript"></script>
<script src="jquery.js" type="text/javascript"></script>
<style type="text/css">
#kcfinder {
width: 700px;
height: 400px;
border: 1px solid #6b6b6b;
border-radius: 5px;
}
#kcfinder iframe {
border-radius: 5px;
}
</style>
<script type="text/javascript">
$(function() {
$('#kcfinder').kcfinder({
url: "../browse.php",
theme: "dark",
lang: "bg",
callback: function(file) {
alert('Selected file: "' + file + '"');
},
callbackMultiple: function(files) {
alert('Selected files:\n "' + files.join('",\n "') + '"');
}
});
});
</script>
</head>
<body>
<div id="kcfinder"></div>
</body>
</html>
5 changes: 5 additions & 0 deletions adapters/jquery-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions adapters/jquery.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
/*! jQuery adapter for KCFinder
* http://kcfinder.sunhater.com
* Pavel Tzonkov <[email protected]>
*/
/* BASE USAGE:
* <div id="filemanager" style="width:700px;height:400px"></div>
* <script>
* $('#filemanager').kcfinder();
* </script>
*/

(function($) {
var defaultURL = "browse.php"; // Define here your default URL to KCFinder

$.fn.kcfinder = function(options) {

var url, i,
t = $(this).get(0),

// Default options
o = {
url: defaultURL,
lang: "",
theme: "",
type: "",
dir: "",
callback: false,
callbackMultiple: false
},
ifr = $('<iframe></iframe>'),

// GET parameters to parse URL
parse = ['lang', 'theme', 'type', 'dir'];

$.extend(true, o, options);

// Parse URL
url = o.url;
url += (url.indexOf('?') === -1) ? '?' : "&";
for (i in parse) {
i = parse[i];
if (o[i].length)
url += i + "=" + encodeURIComponent(o[i]) + "&";
}
url = url.substr(0, url.length - 1);

// Iframe setup
ifr.css({
margin: 0,
padding: 0,
width: $(t).innerWidth(),
height: $(t).innerHeight(),
border: "none"
}).attr({
src: url
});

$(t).html(ifr);

// Callbacks
if ($.isFunction(o.callback) || $.isFunction(o.callbackMultiple)) {
if (!window.KCFinder)
window.KCFinder = {};

// Single file callback
if ($.isFunction(o.callback))
window.KCFinder.callBack = o.callback;
else if (window.KCFinder && window.KCFinder.callback)
delete window.KCFinder.callback;

// Multiple files callback
if ($.isFunction(o.callbackMultiple))
window.KCFinder.callBackMultiple = o.callbackMultiple;
else if (window.KCFinder && window.KCFinder.callbackMultiple)
delete window.KCFinder.callbackMultiple;

// No callbacks
} else if (window.KCFinder)
delete window.KCFinder;
}

})(jQuery);
13 changes: 6 additions & 7 deletions browse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
*
* @desc Browser calling script
* @package KCFinder
* @version 2.52
* @version 3.12
* @author Pavel Tzonkov <[email protected]>
* @copyright 2010-2014 KCFinder Project
* @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
* @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
* @license http://opensource.org/licenses/GPL-3.0 GPLv3
* @license http://opensource.org/licenses/LGPL-3.0 LGPLv3
* @link http://kcfinder.sunhater.com
*/

require "core/autoload.php";
$browser = new browser();
require "core/bootstrap.php";
$browser = "kcfinder\\browser"; // To execute core/bootstrap.php on older
$browser = new $browser(); // PHP versions (even PHP 4)
$browser->action();

?>
4 changes: 4 additions & 0 deletions cache/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<Files *>
Order allow,deny
Deny from all
</Files>
1 change: 1 addition & 0 deletions cache/base.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions cache/base.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions cache/theme_dark.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions cache/theme_dark.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cache/theme_default.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions cache/theme_default.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "sunhater/kcfinder",
"description": "KCFinder web file manager",
"version": "3.20-test2",
"type": "library",
"keywords": [
"kcfinder",
"finder",
"file",
"manager",
"explorer",
"file manager",
"file explorer"
],
"homepage": "http://kcfinder.sunhater.com",
"time": "2014-08-24",
"license": [
"GPL-3.0+",
"LGPL-3.0+"
],
"authors": [
{
"name": "Pavel Tzonkov",
"email": "[email protected]",
"homepage": "http://sunhater.com",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/sunhater/kcfinder/issues",
"source": "https://github.com/sunhater/kcfinder"
},
"require": {
"php": ">=5.3.0",
"ext-gd": "*"
},
"suggest": {
"ext-fileinfo": "*",
"ext-exif": "*",
"ext-curl": "*",
"ext-http": "*",
"ext-sockets": "*",
"ext-imagick": "*",
"ext-gmagick": "*",
"ext-zip": "*"
}
}
4 changes: 4 additions & 0 deletions conf/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<Files *>
Order allow,deny
Deny from all
</Files>
34 changes: 15 additions & 19 deletions config.php → conf/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
*
* @desc Base configuration file
* @package KCFinder
* @version 2.52
* @version 3.12
* @author Pavel Tzonkov <[email protected]>
* @copyright 2010-2014 KCFinder Project
* @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
* @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
* @license http://opensource.org/licenses/GPL-3.0 GPLv3
* @license http://opensource.org/licenses/LGPL-3.0 LGPLv3
* @link http://kcfinder.sunhater.com
*/

// IMPORTANT!!! Do not remove uncommented settings in this file even if
// you are using session configuration.
// See http://kcfinder.sunhater.com/install for setting descriptions
/* IMPORTANT!!! Do not comment or remove uncommented settings in this file
even if you are using session configuration.
See http://kcfinder.sunhater.com/install for setting descriptions */

$_CONFIG = array(
return array(


// GENERAL SETTINGS

'disabled' => false,
'theme' => "oxygen",
'disabled' => true,
'uploadURL' => "upload",
'uploadDir' => "",
'theme' => "default",

'types' => array(

Expand Down Expand Up @@ -84,7 +84,7 @@
)
),

'deniedExts' => "exe com msi bat php phps phtml php3 php4 cgi pl",
'deniedExts' => "exe com msi bat cgi pl php phps phtml php3 php4 php5 php6 py pyc pyo pcgi pcgi3 pcgi4 pcgi5 pchi6",


// MISC SETTINGS
Expand All @@ -108,15 +108,11 @@

// THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION SETTINGS

'_sessionVar' => "KCFINDER",
'_check4htaccess' => true,
'_normalizeFilenames' => false,
'_dropUploadMaxFilesize' => 10485760,
//'_tinyMCEPath' => "/tiny_mce",

'_sessionVar' => &$_SESSION['KCFINDER'],
//'_sessionLifetime' => 30,
//'_sessionDir' => "/full/directory/path",

//'_sessionDomain' => ".mysite.com",
//'_sessionPath' => "/my/path",
//'_cssMinCmd' => "java -jar /path/to/yuicompressor.jar --type css {file}",
//'_jsMinCmd' => "java -jar /path/to/yuicompressor.jar --type js {file}",
);

?>
21 changes: 21 additions & 0 deletions conf/upload.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<IfModule mod_php4.c>
php_flag engine Off
</IfModule>
<IfModule mod_php5.c>
php_flag engine Off
</IfModule>
<IfModule mod_php6.c>
php_flag engine Off
</IfModule>
<IfModule mod_cgi.c>
Options -ExecCGI
</IfModule>

RemoveHandler .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc
RemoveType .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc
SetHandler None
SetHandler default-handler

# Remove both lines below if you want to render HTML files from the upload folder
AddType text/plain .html
AddType text/plain .htm
Loading