@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** Dutch localization file for KCFinder |
4 | - * author: Lars Anderson <[email protected]> |
|
5 | - */ |
|
4 | + * author: Lars Anderson <[email protected]> |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | $lang = array( |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** vi localization file for KCFinder |
4 | - * Tran Van Quyet - HQV ltd |
|
5 | - */ |
|
4 | + * Tran Van Quyet - HQV ltd |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | $lang = array( |
8 | 8 |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** This file is part of KCFinder project |
4 | - * |
|
5 | - * @desc Base CSS definitions |
|
6 | - * @package KCFinder |
|
7 | - * @version 2.54 |
|
8 | - * @author Pavel Tzonkov <[email protected]> |
|
9 | - * @copyright 2010-2014 KCFinder Project |
|
10 | - * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | - * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | - * @link http://kcfinder.sunhater.com |
|
13 | - */ |
|
4 | + * |
|
5 | + * @desc Base CSS definitions |
|
6 | + * @package KCFinder |
|
7 | + * @version 2.54 |
|
8 | + * @author Pavel Tzonkov <[email protected]> |
|
9 | + * @copyright 2010-2014 KCFinder Project |
|
10 | + * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | + * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | + * @link http://kcfinder.sunhater.com |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | require "core/autoload.php"; |
16 | 16 | $mtime = @filemtime(__FILE__); |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** This file is part of KCFinder project |
4 | - * |
|
5 | - * @desc Load language labels into JavaScript |
|
6 | - * @package KCFinder |
|
7 | - * @version 2.54 |
|
8 | - * @author Pavel Tzonkov <[email protected]> |
|
9 | - * @copyright 2010-2014 KCFinder Project |
|
10 | - * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | - * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | - * @link http://kcfinder.sunhater.com |
|
13 | - */ |
|
4 | + * |
|
5 | + * @desc Load language labels into JavaScript |
|
6 | + * @package KCFinder |
|
7 | + * @version 2.54 |
|
8 | + * @author Pavel Tzonkov <[email protected]> |
|
9 | + * @copyright 2010-2014 KCFinder Project |
|
10 | + * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | + * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | + * @link http://kcfinder.sunhater.com |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | require "core/autoload.php"; |
16 | 16 | $input = new input(); |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** This file is part of KCFinder project |
4 | - * |
|
5 | - * @desc Join all JavaScript files in current directory |
|
6 | - * @package KCFinder |
|
7 | - * @version 2.54 |
|
8 | - * @author Pavel Tzonkov <[email protected]> |
|
9 | - * @copyright 2010-2014 KCFinder Project |
|
10 | - * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | - * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | - * @link http://kcfinder.sunhater.com |
|
13 | - */ |
|
4 | + * |
|
5 | + * @desc Join all JavaScript files in current directory |
|
6 | + * @package KCFinder |
|
7 | + * @version 2.54 |
|
8 | + * @author Pavel Tzonkov <[email protected]> |
|
9 | + * @copyright 2010-2014 KCFinder Project |
|
10 | + * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | + * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | + * @link http://kcfinder.sunhater.com |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | chdir(".."); // For compatibility |
16 | 16 | chdir(".."); |
@@ -10,14 +10,14 @@ |
||
10 | 10 | } |
11 | 11 | }; |
12 | 12 | <?php |
13 | - if(isset($_GET['type'])) $type = htmlspecialchars(trim($_GET['type']), ENT_QUOTES); |
|
14 | - elseif(isset($_GET['Type'])) $type = htmlspecialchars(trim($_GET['Type']), ENT_QUOTES); |
|
13 | + if(isset($_GET['type'])) $type = htmlspecialchars(trim($_GET['type']), ENT_QUOTES); |
|
14 | + elseif(isset($_GET['Type'])) $type = htmlspecialchars(trim($_GET['Type']), ENT_QUOTES); |
|
15 | 15 | else $type = 'images'; |
16 | 16 | |
17 | 17 | if($type==='image') $type = 'images'; |
18 | 18 | |
19 | - $opener = (isset($_GET['editor'])) ? 'opener=' . htmlspecialchars(trim($_GET['editor']), ENT_QUOTES) : ''; |
|
20 | - $request_uri = "{$opener}&type={$type}"; |
|
19 | + $opener = (isset($_GET['editor'])) ? 'opener=' . htmlspecialchars(trim($_GET['editor']), ENT_QUOTES) : ''; |
|
20 | + $request_uri = "{$opener}&type={$type}"; |
|
21 | 21 | ?> |
22 | 22 | window.location.href = "browse.php?<?php echo $request_uri; ?>"; |
23 | 23 | </script> |
@@ -1,23 +1,23 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** This file is part of KCFinder project |
4 | - * |
|
5 | - * @desc Directory helper class |
|
6 | - * @package KCFinder |
|
7 | - * @version 2.54 |
|
8 | - * @author Pavel Tzonkov <[email protected]> |
|
9 | - * @copyright 2010-2014 KCFinder Project |
|
10 | - * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | - * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | - * @link http://kcfinder.sunhater.com |
|
13 | - */ |
|
4 | + * |
|
5 | + * @desc Directory helper class |
|
6 | + * @package KCFinder |
|
7 | + * @version 2.54 |
|
8 | + * @author Pavel Tzonkov <[email protected]> |
|
9 | + * @copyright 2010-2014 KCFinder Project |
|
10 | + * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | + * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | + * @link http://kcfinder.sunhater.com |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | class dir { |
16 | 16 | |
17 | - /** Checks if the given directory is really writable. The standard PHP |
|
18 | - * function is_writable() does not work properly on Windows servers |
|
19 | - * @param string $dir |
|
20 | - * @return bool */ |
|
17 | + /** Checks if the given directory is really writable. The standard PHP |
|
18 | + * function is_writable() does not work properly on Windows servers |
|
19 | + * @param string $dir |
|
20 | + * @return bool */ |
|
21 | 21 | |
22 | 22 | static function isWritable($dir) { |
23 | 23 | $dir = path::normalize($dir); |
@@ -33,16 +33,16 @@ discard block |
||
33 | 33 | return true; |
34 | 34 | } |
35 | 35 | |
36 | - /** Recursively delete the given directory. Returns TRUE on success. |
|
37 | - * If $firstFailExit parameter is true (default), the method returns the |
|
38 | - * path to the first failed file or directory which cannot be deleted. |
|
39 | - * If $firstFailExit is false, the method returns an array with failed |
|
40 | - * files and directories which cannot be deleted. The third parameter |
|
41 | - * $failed is used for internal use only. |
|
42 | - * @param string $dir |
|
43 | - * @param bool $firstFailExit |
|
44 | - * @param array $failed |
|
45 | - * @return mixed */ |
|
36 | + /** Recursively delete the given directory. Returns TRUE on success. |
|
37 | + * If $firstFailExit parameter is true (default), the method returns the |
|
38 | + * path to the first failed file or directory which cannot be deleted. |
|
39 | + * If $firstFailExit is false, the method returns an array with failed |
|
40 | + * files and directories which cannot be deleted. The third parameter |
|
41 | + * $failed is used for internal use only. |
|
42 | + * @param string $dir |
|
43 | + * @param bool $firstFailExit |
|
44 | + * @param array $failed |
|
45 | + * @return mixed */ |
|
46 | 46 | |
47 | 47 | static function prune($dir, $firstFailExit=true, array $failed=null) { |
48 | 48 | if ($failed === null) $failed = array(); |
@@ -81,11 +81,11 @@ discard block |
||
81 | 81 | return count($failed) ? $failed : true; |
82 | 82 | } |
83 | 83 | |
84 | - /** Get the content of the given directory. Returns an array with filenames |
|
85 | - * or FALSE on failure |
|
86 | - * @param string $dir |
|
87 | - * @param array $options |
|
88 | - * @return mixed */ |
|
84 | + /** Get the content of the given directory. Returns an array with filenames |
|
85 | + * or FALSE on failure |
|
86 | + * @param string $dir |
|
87 | + * @param array $options |
|
88 | + * @return mixed */ |
|
89 | 89 | |
90 | 90 | static function content($dir, array $options=null) { |
91 | 91 |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** This file is part of KCFinder project |
4 | - * |
|
5 | - * @desc ImageMagick image driver class |
|
6 | - * @package KCFinder |
|
7 | - * @version 2.54 |
|
8 | - * @author Pavel Tzonkov <[email protected]> |
|
9 | - * @copyright 2010-2014 KCFinder Project |
|
10 | - * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | - * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | - * @link http://kcfinder.sunhater.com |
|
13 | - */ |
|
4 | + * |
|
5 | + * @desc ImageMagick image driver class |
|
6 | + * @package KCFinder |
|
7 | + * @version 2.54 |
|
8 | + * @author Pavel Tzonkov <[email protected]> |
|
9 | + * @copyright 2010-2014 KCFinder Project |
|
10 | + * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | + * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | + * @link http://kcfinder.sunhater.com |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | class image_imagick extends image { |
16 | 16 |
@@ -1,29 +1,29 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** This file is part of KCFinder project |
4 | - * |
|
5 | - * @desc Input class for GET, POST and COOKIE requests |
|
6 | - * @package KCFinder |
|
7 | - * @version 2.54 |
|
8 | - * @author Pavel Tzonkov <[email protected]> |
|
9 | - * @copyright 2010-2014 KCFinder Project |
|
10 | - * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | - * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | - * @link http://kcfinder.sunhater.com |
|
13 | - */ |
|
4 | + * |
|
5 | + * @desc Input class for GET, POST and COOKIE requests |
|
6 | + * @package KCFinder |
|
7 | + * @version 2.54 |
|
8 | + * @author Pavel Tzonkov <[email protected]> |
|
9 | + * @copyright 2010-2014 KCFinder Project |
|
10 | + * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 |
|
11 | + * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 |
|
12 | + * @link http://kcfinder.sunhater.com |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | class input { |
16 | 16 | |
17 | - /** Filtered $_GET array |
|
18 | - * @var array */ |
|
17 | + /** Filtered $_GET array |
|
18 | + * @var array */ |
|
19 | 19 | public $get; |
20 | 20 | |
21 | - /** Filtered $_POST array |
|
22 | - * @var array */ |
|
21 | + /** Filtered $_POST array |
|
22 | + * @var array */ |
|
23 | 23 | public $post; |
24 | 24 | |
25 | - /** Filtered $_COOKIE array |
|
26 | - * @var array */ |
|
25 | + /** Filtered $_COOKIE array |
|
26 | + * @var array */ |
|
27 | 27 | public $cookie; |
28 | 28 | |
29 | 29 | public function __construct() { |
@@ -32,9 +32,9 @@ discard block |
||
32 | 32 | $this->cookie = &$_COOKIE; |
33 | 33 | } |
34 | 34 | |
35 | - /** Magic method to get non-public properties like public. |
|
36 | - * @param string $property |
|
37 | - * @return mixed */ |
|
35 | + /** Magic method to get non-public properties like public. |
|
36 | + * @param string $property |
|
37 | + * @return mixed */ |
|
38 | 38 | |
39 | 39 | public function __get($property) { |
40 | 40 | return property_exists($this, $property) ? $this->$property : null; |