[10.0.052] RFM éditeur image actif + mise à jour config
@ -33,7 +33,7 @@ class common {
|
|||||||
const TEMP_DIR = 'site/tmp/';
|
const TEMP_DIR = 'site/tmp/';
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.051';
|
const ZWII_VERSION = '10.0.052';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
1595
core/vendor/filemanager/__UploadHandler.php
vendored
975
core/vendor/filemanager/ajax_calls.php
vendored
160
core/vendor/filemanager/config/config.php
vendored
@ -97,6 +97,17 @@ $config = array(
|
|||||||
*/
|
*/
|
||||||
'thumbs_base_path' => '../../../site/file/thumb/',
|
'thumbs_base_path' => '../../../site/file/thumb/',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| path from base_url to base of thumbs folder
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| with final /
|
||||||
|
| DO NOT put inside upload folder
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'thumbs_upload_dir' => '/thumb/',
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@ -395,21 +406,84 @@ $config = array(
|
|||||||
*/
|
*/
|
||||||
'files_without_extension' => false,
|
'files_without_extension' => false,
|
||||||
|
|
||||||
/******************
|
/******************
|
||||||
* AVIARY config
|
* TUI Image Editor config
|
||||||
*******************/
|
*******************/
|
||||||
'aviary_active' => false,
|
// Add or modify the options below as needed - they will be json encoded when added to the configuration so arrays can be utilized as needed
|
||||||
'aviary_apiKey' => "2444282ef4344e3dacdedc7a78f8877d",
|
'tui_active' => true,
|
||||||
'aviary_language' => "fr",
|
'tui_position' => 'bottom',
|
||||||
'aviary_theme' => "light",
|
// 'common.bi.image' => "../assets/images/logo.png",
|
||||||
'aviary_tools' => "all",
|
// 'common.bisize.width' => '70px',
|
||||||
'aviary_maxSize' => "1400",
|
// 'common.bisize.height' => '25px',
|
||||||
// Add or modify the Aviary options below as needed - they will be json encoded when added to the configuration so arrays can be utilized as needed
|
'common.backgroundImage' => 'none',
|
||||||
|
'common.backgroundColor' => '#ececec',
|
||||||
|
'common.border' => '1px solid #E6E7E8',
|
||||||
|
|
||||||
//The filter and sorter are managed through both javascript and php scripts because if you have a lot of
|
// header
|
||||||
//file in a folder the javascript script can't sort all or filter all, so the filemanager switch to php script.
|
'header.backgroundImage' => 'none',
|
||||||
//The plugin automatic swich javascript to php when the current folder exceeds the below limit of files number
|
'header.backgroundColor' => '#ececec',
|
||||||
'file_number_limit_js' => 500,
|
'header.border' => '0px',
|
||||||
|
|
||||||
|
// main icons
|
||||||
|
'menu.normalIcon.path' => 'svg/icon-d.svg',
|
||||||
|
'menu.normalIcon.name' => 'icon-d',
|
||||||
|
'menu.activeIcon.path' => 'svg/icon-b.svg',
|
||||||
|
'menu.activeIcon.name' => 'icon-b',
|
||||||
|
'menu.disabledIcon.path' => 'svg/icon-a.svg',
|
||||||
|
'menu.disabledIcon.name' => 'icon-a',
|
||||||
|
'menu.hoverIcon.path' => 'svg/icon-c.svg',
|
||||||
|
'menu.hoverIcon.name' => 'icon-c',
|
||||||
|
'menu.iconSize.width' => '24px',
|
||||||
|
'menu.iconSize.height' => '24px',
|
||||||
|
|
||||||
|
// submenu primary color
|
||||||
|
'submenu.backgroundColor' => '#ececec',
|
||||||
|
'submenu.partition.color' => '#000000',
|
||||||
|
|
||||||
|
// submenu icons
|
||||||
|
'submenu.normalIcon.path' => 'svg/icon-d.svg',
|
||||||
|
'submenu.normalIcon.name' => 'icon-d',
|
||||||
|
'submenu.activeIcon.path' => 'svg/icon-b.svg',
|
||||||
|
'submenu.activeIcon.name' => 'icon-b',
|
||||||
|
'submenu.iconSize.width' => '32px',
|
||||||
|
'submenu.iconSize.height' => '32px',
|
||||||
|
|
||||||
|
// submenu labels
|
||||||
|
'submenu.normalLabel.color' => '#000',
|
||||||
|
'submenu.normalLabel.fontWeight' => 'normal',
|
||||||
|
'submenu.activeLabel.color' => '#000',
|
||||||
|
'submenu.activeLabel.fontWeight' => 'normal',
|
||||||
|
|
||||||
|
// checkbox style
|
||||||
|
'checkbox.border' => '1px solid #E6E7E8',
|
||||||
|
'checkbox.backgroundColor' => '#000',
|
||||||
|
|
||||||
|
// rango style
|
||||||
|
'range.pointer.color' => '#333',
|
||||||
|
'range.bar.color' => '#ccc',
|
||||||
|
'range.subbar.color' => '#606060',
|
||||||
|
|
||||||
|
'range.disabledPointer.color' => '#d3d3d3',
|
||||||
|
'range.disabledBar.color' => 'rgba(85,85,85,0.06)',
|
||||||
|
'range.disabledSubbar.color' => 'rgba(51,51,51,0.2)',
|
||||||
|
|
||||||
|
'range.value.color' => '#000',
|
||||||
|
'range.value.fontWeight' => 'normal',
|
||||||
|
'range.value.fontSize' => '11px',
|
||||||
|
'range.value.border' => '0',
|
||||||
|
'range.value.backgroundColor' => '#f5f5f5',
|
||||||
|
'range.title.color' => '#000',
|
||||||
|
'range.title.fontWeight' => 'lighter',
|
||||||
|
|
||||||
|
// colorpicker style
|
||||||
|
'colorpicker.button.border' => '0px',
|
||||||
|
'colorpicker.title.color' => '#000',
|
||||||
|
|
||||||
|
|
||||||
|
//The filter and sorter are managed through both javascript and php scripts because if you have a lot of
|
||||||
|
//file in a folder the javascript script can't sort all or filter all, so the filemanager switch to php script.
|
||||||
|
//The plugin automatic swich javascript to php when the current folder exceeds the below limit of files number
|
||||||
|
'file_number_limit_js' => 500,
|
||||||
|
|
||||||
//**********************
|
//**********************
|
||||||
// Hidden files and folders
|
// Hidden files and folders
|
||||||
@ -488,13 +562,55 @@ return array_merge(
|
|||||||
$config['ext_video'],
|
$config['ext_video'],
|
||||||
$config['ext_music']
|
$config['ext_music']
|
||||||
),
|
),
|
||||||
// For a list of options see: https://developers.aviary.com/docs/web/setup-guide#constructor-config
|
'tui_defaults_config' => array(
|
||||||
'aviary_defaults_config' => array(
|
//'common.bi.image' => $config['common.bi.image'],
|
||||||
'apiKey' => $config['aviary_apiKey'],
|
//'common.bisize.width' => $config['common.bisize.width'],
|
||||||
'language' => $config['aviary_language'],
|
//'common.bisize.height' => $config['common.bisize.height'],
|
||||||
'theme' => $config['aviary_theme'],
|
'common.backgroundImage' => $config['common.backgroundImage'],
|
||||||
'tools' => $config['aviary_tools'],
|
'common.backgroundColor' => $config['common.backgroundColor'],
|
||||||
'maxSize' => $config['aviary_maxSize']
|
'common.border' => $config['common.border'],
|
||||||
),
|
'header.backgroundImage' => $config['header.backgroundImage'],
|
||||||
|
'header.backgroundColor' => $config['header.backgroundColor'],
|
||||||
|
'header.border' => $config['header.border'],
|
||||||
|
'menu.normalIcon.path' => $config['menu.normalIcon.path'],
|
||||||
|
'menu.normalIcon.name' => $config['menu.normalIcon.name'],
|
||||||
|
'menu.activeIcon.path' => $config['menu.activeIcon.path'],
|
||||||
|
'menu.activeIcon.name' => $config['menu.activeIcon.name'],
|
||||||
|
'menu.disabledIcon.path' => $config['menu.disabledIcon.path'],
|
||||||
|
'menu.disabledIcon.name' => $config['menu.disabledIcon.name'],
|
||||||
|
'menu.hoverIcon.path' => $config['menu.hoverIcon.path'],
|
||||||
|
'menu.hoverIcon.name' => $config['menu.hoverIcon.name'],
|
||||||
|
'menu.iconSize.width' => $config['menu.iconSize.width'],
|
||||||
|
'menu.iconSize.height' => $config['menu.iconSize.height'],
|
||||||
|
'submenu.backgroundColor' => $config['submenu.backgroundColor'],
|
||||||
|
'submenu.partition.color' => $config['submenu.partition.color'],
|
||||||
|
'submenu.normalIcon.path' => $config['submenu.normalIcon.path'],
|
||||||
|
'submenu.normalIcon.name' => $config['submenu.normalIcon.name'],
|
||||||
|
'submenu.activeIcon.path' => $config['submenu.activeIcon.path'],
|
||||||
|
'submenu.activeIcon.name' => $config['submenu.activeIcon.name'],
|
||||||
|
'submenu.iconSize.width' => $config['submenu.iconSize.width'],
|
||||||
|
'submenu.iconSize.height' => $config['submenu.iconSize.height'],
|
||||||
|
'submenu.normalLabel.color' => $config['submenu.normalLabel.color'],
|
||||||
|
'submenu.normalLabel.fontWeight' => $config['submenu.normalLabel.fontWeight'],
|
||||||
|
'submenu.activeLabel.color' => $config['submenu.activeLabel.color'],
|
||||||
|
//'submenu.activeLabel.fontWeight' => $config['submenu.activeLabel.fontWeightcommon.bi.image'],
|
||||||
|
'checkbox.border' => $config['checkbox.border'],
|
||||||
|
'checkbox.backgroundColor' => $config['checkbox.backgroundColor'],
|
||||||
|
'range.pointer.color' => $config['range.pointer.color'],
|
||||||
|
'range.bar.color' => $config['range.bar.color'],
|
||||||
|
'range.subbar.color' => $config['range.subbar.color'],
|
||||||
|
'range.disabledPointer.color' => $config['range.disabledPointer.color'],
|
||||||
|
'range.disabledBar.color' => $config['range.disabledBar.color'],
|
||||||
|
'range.disabledSubbar.color' => $config['range.disabledSubbar.color'],
|
||||||
|
'range.value.color' => $config['range.value.color'],
|
||||||
|
'range.value.fontWeight' => $config['range.value.fontWeight'],
|
||||||
|
'range.value.fontSize' => $config['range.value.fontSize'],
|
||||||
|
'range.value.border' => $config['range.value.border'],
|
||||||
|
'range.value.backgroundColor' => $config['range.value.backgroundColor'],
|
||||||
|
'range.title.color' => $config['range.title.color'],
|
||||||
|
'range.title.fontWeight' => $config['range.title.fontWeight'],
|
||||||
|
'colorpicker.button.border' => $config['colorpicker.button.border'],
|
||||||
|
'colorpicker.title.color' => $config['colorpicker.title.color']
|
||||||
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
BIN
core/vendor/filemanager/css/rtl-style.css
vendored
44
core/vendor/filemanager/css/style.css
vendored
2165
core/vendor/filemanager/dialog.php
vendored
Executable file → Normal file
734
core/vendor/filemanager/execute.php
vendored
@ -3,73 +3,68 @@ $config = include 'config/config.php';
|
|||||||
|
|
||||||
include 'include/utils.php';
|
include 'include/utils.php';
|
||||||
|
|
||||||
if ($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager")
|
if ($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager") {
|
||||||
{
|
response(trans('forbidden') . AddErrorLocation())->send();
|
||||||
response(trans('forbiden').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!checkRelativePath($_POST['path']))
|
if (!checkRelativePath($_POST['path'])) {
|
||||||
{
|
response(trans('wrong path') . AddErrorLocation())->send();
|
||||||
response(trans('wrong path').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_SESSION['RF']['language']) && file_exists('lang/' . basename($_SESSION['RF']['language']) . '.php'))
|
if (isset($_SESSION['RF']['language']) && file_exists('lang/' . basename($_SESSION['RF']['language']) . '.php')) {
|
||||||
{
|
$languages = include 'lang/languages.php';
|
||||||
$languages = include 'lang/languages.php';
|
if (array_key_exists($_SESSION['RF']['language'], $languages)) {
|
||||||
if(array_key_exists($_SESSION['RF']['language'],$languages)){
|
include 'lang/' . basename($_SESSION['RF']['language']) . '.php';
|
||||||
include 'lang/' . basename($_SESSION['RF']['language']) . '.php';
|
} else {
|
||||||
}else{
|
response(trans('Lang_Not_Found') . AddErrorLocation())->send();
|
||||||
response(trans('Lang_Not_Found').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
}
|
||||||
}
|
} else {
|
||||||
}
|
response(trans('Lang_Not_Found') . AddErrorLocation())->send();
|
||||||
else
|
exit;
|
||||||
{
|
|
||||||
response(trans('Lang_Not_Found').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$ftp = ftp_con($config);
|
$ftp = ftp_con($config);
|
||||||
|
|
||||||
$base = $config['current_path'];
|
$base = $config['current_path'];
|
||||||
$path = $base.$_POST['path'];
|
$path = $base . $_POST['path'];
|
||||||
$cycle = TRUE;
|
$cycle = true;
|
||||||
$max_cycles = 50;
|
$max_cycles = 50;
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while($cycle && $i<$max_cycles)
|
|
||||||
{
|
|
||||||
$i++;
|
|
||||||
if ($path == $base) $cycle=FALSE;
|
|
||||||
|
|
||||||
if (file_exists($path."config.php"))
|
while ($cycle && $i < $max_cycles) {
|
||||||
{
|
$i++;
|
||||||
require_once $path."config.php";
|
if ($path == $base) {
|
||||||
$cycle = FALSE;
|
$cycle = false;
|
||||||
}
|
}
|
||||||
$path = fix_dirname($path)."/";
|
|
||||||
|
if (file_exists($path . "config.php")) {
|
||||||
|
require_once $path . "config.php";
|
||||||
|
$cycle = false;
|
||||||
|
}
|
||||||
|
$path = fix_dirname($path) . "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
function returnPaths($_path,$_name,$config){
|
function returnPaths($_path, $_name, $config)
|
||||||
global $ftp;
|
{
|
||||||
$path = $config['current_path'].$_path;
|
global $ftp;
|
||||||
$path_thumb = $config['thumbs_base_path'].$_path;
|
$path = $config['current_path'] . $_path;
|
||||||
$name = null;
|
$path_thumb = $config['thumbs_base_path'] . $_path;
|
||||||
if($ftp){
|
$name = null;
|
||||||
$path = $config['ftp_base_folder'].$config['upload_dir'].$_path;
|
if ($ftp) {
|
||||||
$path_thumb = $config['ftp_base_folder'].$config['ftp_thumbs_dir'].$_path;
|
$path = $config['ftp_base_folder'] . $config['upload_dir'] . $_path;
|
||||||
}
|
$path_thumb = $config['ftp_base_folder'] . $config['ftp_thumbs_dir'] . $_path;
|
||||||
if ($_name)
|
}
|
||||||
{
|
if ($_name) {
|
||||||
$name = fix_filename($_name,$config);
|
$name = fix_filename($_name, $config);
|
||||||
if (strpos($name,'../') !== FALSE || strpos($name,'..\\') !== FALSE)
|
if (strpos($name, '../') !== false || strpos($name, '..\\') !== false) {
|
||||||
{
|
response(trans('wrong name') . AddErrorLocation())->send();
|
||||||
response(trans('wrong name').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
}
|
||||||
}
|
}
|
||||||
}
|
return array($path, $path_thumb, $name);
|
||||||
return array($path,$path_thumb,$name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_POST['paths'])){
|
if(isset($_POST['paths'])){
|
||||||
@ -89,7 +84,7 @@ if(isset($_POST['paths'])){
|
|||||||
$paths_thumb[] = $path_thumb;
|
$paths_thumb[] = $path_thumb;
|
||||||
$names = $name;
|
$names = $name;
|
||||||
}
|
}
|
||||||
}else{
|
} else {
|
||||||
$name = null;
|
$name = null;
|
||||||
if(isset($_POST['name'])){
|
if(isset($_POST['name'])){
|
||||||
$name = $_POST['name'];
|
$name = $_POST['name'];
|
||||||
@ -99,27 +94,25 @@ if(isset($_POST['paths'])){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$info = pathinfo($path);
|
$info = pathinfo($path);
|
||||||
if (isset($info['extension']) && !(isset($_GET['action']) && $_GET['action']=='delete_folder') &&
|
if (isset($info['extension']) && !(isset($_GET['action']) && $_GET['action'] == 'delete_folder') &&
|
||||||
!check_extension($info['extension'],$config)
|
!check_extension($info['extension'], $config)
|
||||||
&& $_GET['action'] != 'create_file' )
|
&& $_GET['action'] != 'create_file') {
|
||||||
{
|
response(trans('wrong extension') . AddErrorLocation())->send();
|
||||||
response(trans('wrong extension').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET['action']))
|
if (isset($_GET['action'])) {
|
||||||
{
|
switch ($_GET['action']) {
|
||||||
switch($_GET['action'])
|
case 'delete_file':
|
||||||
{
|
|
||||||
case 'delete_file':
|
|
||||||
|
|
||||||
deleteFile($path,$path_thumb,$config);
|
deleteFile($path, $path_thumb, $config);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'delete_files':
|
|
||||||
foreach ($paths as $key => $p) {
|
case 'delete_files':
|
||||||
deleteFile($p,$paths_thumb[$key],$config);
|
foreach ($paths as $key => $p) {
|
||||||
}
|
deleteFile($p, $paths_thumb[$key], $config);
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'delete_folder':
|
case 'delete_folder':
|
||||||
@ -169,259 +162,251 @@ if (isset($_GET['action']))
|
|||||||
response(trans('wrong path').AddErrorLocation())->send();
|
response(trans('wrong path').AddErrorLocation())->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$name=fix_filename($name,$config);
|
$name = fix_filename($name, $config);
|
||||||
$name=str_replace('.','',$name);
|
$name = str_replace('.', '', $name);
|
||||||
|
|
||||||
if (!empty($name)){
|
if (!empty($name)) {
|
||||||
if (!rename_folder($path,$name,$ftp,$config))
|
if (!rename_folder($path, $name, $ftp, $config)) {
|
||||||
{
|
response(trans('Rename_existing_folder') . AddErrorLocation())->send();
|
||||||
response(trans('Rename_existing_folder').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
}
|
||||||
}
|
rename_folder($path_thumb, $name, $ftp, $config);
|
||||||
rename_folder($path_thumb,$name,$ftp,$config);
|
if (!$ftp && $config['fixed_image_creation']) {
|
||||||
if (!$ftp && $config['fixed_image_creation']){
|
foreach ($config['fixed_path_from_filemanager'] as $k => $paths) {
|
||||||
foreach($config['fixed_path_from_filemanager'] as $k=>$paths){
|
if ($paths != "" && $paths[strlen($paths) - 1] != "/") {
|
||||||
if ($paths!="" && $paths[strlen($paths)-1] != "/") $paths.="/";
|
$paths .= "/";
|
||||||
|
}
|
||||||
|
|
||||||
$base_dir=$paths.substr_replace($path, '', 0, strlen($config['current_path']));
|
$base_dir = $paths . substr_replace($path, '', 0, strlen($config['current_path']));
|
||||||
rename_folder($base_dir,$name,$ftp,$config);
|
rename_folder($base_dir, $name, $ftp, $config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
response(trans('Empty_name').AddErrorLocation())->send();
|
response(trans('Empty_name') . AddErrorLocation())->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'create_file':
|
|
||||||
if ($config['create_text_files'] === FALSE) {
|
|
||||||
response(sprintf(trans('File_Open_Edit_Not_Allowed'), strtolower(trans('Edit'))).AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isset($config['editable_text_file_exts']) || !is_array($config['editable_text_file_exts'])){
|
case 'create_file':
|
||||||
$config['editable_text_file_exts'] = array();
|
if ($config['create_text_files'] === false) {
|
||||||
}
|
response(sprintf(trans('File_Open_Edit_Not_Allowed'), strtolower(trans('Edit'))) . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
// check if user supplied extension
|
if (!isset($config['editable_text_file_exts']) || !is_array($config['editable_text_file_exts'])) {
|
||||||
if (strpos($name, '.') === FALSE){
|
$config['editable_text_file_exts'] = array();
|
||||||
response(trans('No_Extension').' '.sprintf(trans('Valid_Extensions'), implode(', ', $config['editable_text_file_exts'])).AddErrorLocation())->send();
|
}
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
// correct name
|
// check if user supplied extension
|
||||||
$old_name = $name;
|
if (strpos($name, '.') === false) {
|
||||||
$name=fix_filename($name,$config);
|
response(trans('No_Extension') . ' ' . sprintf(trans('Valid_Extensions'), implode(', ', $config['editable_text_file_exts'])) . AddErrorLocation())->send();
|
||||||
if (empty($name))
|
exit;
|
||||||
{
|
}
|
||||||
response(trans('Empty_name').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
// check extension
|
// correct name
|
||||||
$parts = explode('.', $name);
|
$old_name = $name;
|
||||||
if (!in_array(end($parts), $config['editable_text_file_exts'])) {
|
$name = fix_filename($name, $config);
|
||||||
response(trans('Error_extension').' '.sprintf(trans('Valid_Extensions'), implode(', ', $config['editable_text_file_exts'])).AddErrorLocation(), 400)->send();
|
if (empty($name)) {
|
||||||
exit;
|
response(trans('Empty_name') . AddErrorLocation())->send();
|
||||||
}
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
$content = $_POST['new_content'];
|
// check extension
|
||||||
|
$parts = explode('.', $name);
|
||||||
|
if (!in_array(end($parts), $config['editable_text_file_exts'])) {
|
||||||
|
response(trans('Error_extension') . ' ' . sprintf(trans('Valid_Extensions'), implode(', ', $config['editable_text_file_exts'])) . AddErrorLocation(), 400)->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if($ftp){
|
$content = $_POST['new_content'];
|
||||||
$temp = tempnam('/tmp','RF');
|
|
||||||
file_put_contents($temp, $content);
|
|
||||||
$ftp->put("/".$path.$name, $temp, FTP_BINARY);
|
|
||||||
unlink($temp);
|
|
||||||
response(trans('File_Save_OK'))->send();
|
|
||||||
}else{
|
|
||||||
if (!checkresultingsize(strlen($content))) {
|
|
||||||
response(sprintf(trans('max_size_reached'),$config['MaxSizeTotal']).AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
// file already exists
|
|
||||||
if (file_exists($path.$name)) {
|
|
||||||
response(trans('Rename_existing_file').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (@file_put_contents($path.$name, $content) === FALSE) {
|
if ($ftp) {
|
||||||
response(trans('File_Save_Error').AddErrorLocation())->send();
|
$temp = tempnam('/tmp', 'RF');
|
||||||
exit;
|
file_put_contents($temp, $content);
|
||||||
} else {
|
$ftp->put("/" . $path . $name, $temp, FTP_BINARY);
|
||||||
if (is_function_callable('chmod') !== FALSE){
|
unlink($temp);
|
||||||
chmod($path.$name, 0644);
|
response(trans('File_Save_OK'))->send();
|
||||||
}
|
} else {
|
||||||
response(trans('File_Save_OK'))->send();
|
if (!checkresultingsize(strlen($content))) {
|
||||||
exit;
|
response(sprintf(trans('max_size_reached'), $config['MaxSizeTotal']) . AddErrorLocation())->send();
|
||||||
}
|
exit;
|
||||||
}
|
}
|
||||||
|
// file already exists
|
||||||
|
if (file_exists($path . $name)) {
|
||||||
|
response(trans('Rename_existing_file') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
if (@file_put_contents($path . $name, $content) === false) {
|
||||||
case 'rename_file':
|
response(trans('File_Save_Error') . AddErrorLocation())->send();
|
||||||
if ($config['rename_files']){
|
exit;
|
||||||
$name=fix_filename($name,$config);
|
} else {
|
||||||
if (!empty($name))
|
if (is_function_callable('chmod') !== false) {
|
||||||
{
|
chmod($path . $name, 0644);
|
||||||
if (!rename_file($path,$name,$ftp,$config))
|
}
|
||||||
{
|
response(trans('File_Save_OK'))->send();
|
||||||
response(trans('Rename_existing_file').AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rename_file($path_thumb,$name,$ftp,$config);
|
break;
|
||||||
|
|
||||||
if ($config['fixed_image_creation'])
|
case 'rename_file':
|
||||||
{
|
if ($config['rename_files']) {
|
||||||
$info=pathinfo($path);
|
$name = fix_filename($name, $config);
|
||||||
|
if (!empty($name)) {
|
||||||
|
if (!rename_file($path, $name, $ftp, $config)) {
|
||||||
|
response(trans('Rename_existing_file') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
foreach($config['fixed_path_from_filemanager'] as $k=>$paths)
|
rename_file($path_thumb, $name, $ftp, $config);
|
||||||
{
|
|
||||||
if ($paths!="" && $paths[strlen($paths)-1] != "/") $paths.="/";
|
|
||||||
|
|
||||||
$base_dir = $paths.substr_replace($info['dirname']."/", '', 0, strlen($config['current_path']));
|
if ($config['fixed_image_creation']) {
|
||||||
if (file_exists($base_dir.$config['fixed_image_creation_name_to_prepend'][$k].$info['filename'].$config['fixed_image_creation_to_append'][$k].".".$info['extension']))
|
$info = pathinfo($path);
|
||||||
{
|
|
||||||
rename_file($base_dir.$config['fixed_image_creation_name_to_prepend'][$k].$info['filename'].$config['fixed_image_creation_to_append'][$k].".".$info['extension'],$config['fixed_image_creation_name_to_prepend'][$k].$name.$config['fixed_image_creation_to_append'][$k],$ftp,$config);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
response(trans('Empty_name').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'duplicate_file':
|
|
||||||
if ($config['duplicate_files'])
|
|
||||||
{
|
|
||||||
$name=fix_filename($name,$config);
|
|
||||||
if (!empty($name))
|
|
||||||
{
|
|
||||||
if (!$ftp && !checkresultingsize(filesize($path))) {
|
|
||||||
response(sprintf(trans('max_size_reached'),$config['MaxSizeTotal']).AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
if (!duplicate_file($path,$name,$ftp,$config))
|
|
||||||
{
|
|
||||||
response(trans('Rename_existing_file').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
duplicate_file($path_thumb,$name,$ftp,$config);
|
foreach ($config['fixed_path_from_filemanager'] as $k => $paths) {
|
||||||
|
if ($paths != "" && $paths[strlen($paths) - 1] != "/") {
|
||||||
|
$paths .= "/";
|
||||||
|
}
|
||||||
|
|
||||||
if (!$ftp && $config['fixed_image_creation'])
|
$base_dir = $paths . substr_replace($info['dirname'] . "/", '', 0, strlen($config['current_path']));
|
||||||
{
|
if (file_exists($base_dir . $config['fixed_image_creation_name_to_prepend'][$k] . $info['filename'] . $config['fixed_image_creation_to_append'][$k] . "." . $info['extension'])) {
|
||||||
$info=pathinfo($path);
|
rename_file($base_dir . $config['fixed_image_creation_name_to_prepend'][$k] . $info['filename'] . $config['fixed_image_creation_to_append'][$k] . "." . $info['extension'], $config['fixed_image_creation_name_to_prepend'][$k] . $name . $config['fixed_image_creation_to_append'][$k], $ftp, $config);
|
||||||
foreach($config['fixed_path_from_filemanager'] as $k=>$paths)
|
}
|
||||||
{
|
}
|
||||||
if ($paths!="" && $paths[strlen($paths)-1] != "/") $paths.= "/";
|
}
|
||||||
|
} else {
|
||||||
|
response(trans('Empty_name') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
$base_dir=$paths.substr_replace($info['dirname']."/", '', 0, strlen($config['current_path']));
|
case 'duplicate_file':
|
||||||
|
if ($config['duplicate_files']) {
|
||||||
|
$name = fix_filename($name, $config);
|
||||||
|
if (!empty($name)) {
|
||||||
|
if (!$ftp && !checkresultingsize(filesize($path))) {
|
||||||
|
response(sprintf(trans('max_size_reached'), $config['MaxSizeTotal']) . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
if (!duplicate_file($path, $name, $ftp, $config)) {
|
||||||
|
response(trans('Rename_existing_file') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (file_exists($base_dir.$config['fixed_image_creation_name_to_prepend'][$k].$info['filename'].$config['fixed_image_creation_to_append'][$k].".".$info['extension']))
|
duplicate_file($path_thumb, $name, $ftp, $config);
|
||||||
{
|
|
||||||
duplicate_file($base_dir.$config['fixed_image_creation_name_to_prepend'][$k].$info['filename'].$config['fixed_image_creation_to_append'][$k].".".$info['extension'],$config['fixed_image_creation_name_to_prepend'][$k].$name.$config['fixed_image_creation_to_append'][$k]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
response(trans('Empty_name').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'paste_clipboard':
|
if (!$ftp && $config['fixed_image_creation']) {
|
||||||
if ( ! isset($_SESSION['RF']['clipboard_action'], $_SESSION['RF']['clipboard']['path'])
|
$info = pathinfo($path);
|
||||||
|| $_SESSION['RF']['clipboard_action'] == ''
|
foreach ($config['fixed_path_from_filemanager'] as $k => $paths) {
|
||||||
|| $_SESSION['RF']['clipboard']['path'] == '')
|
if ($paths != "" && $paths[strlen($paths) - 1] != "/") {
|
||||||
{
|
$paths .= "/";
|
||||||
response()->send();
|
}
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
$action = $_SESSION['RF']['clipboard_action'];
|
$base_dir = $paths . substr_replace($info['dirname'] . "/", '', 0, strlen($config['current_path']));
|
||||||
$data = $_SESSION['RF']['clipboard'];
|
|
||||||
|
if (file_exists($base_dir . $config['fixed_image_creation_name_to_prepend'][$k] . $info['filename'] . $config['fixed_image_creation_to_append'][$k] . "." . $info['extension'])) {
|
||||||
|
duplicate_file($base_dir . $config['fixed_image_creation_name_to_prepend'][$k] . $info['filename'] . $config['fixed_image_creation_to_append'][$k] . "." . $info['extension'], $config['fixed_image_creation_name_to_prepend'][$k] . $name . $config['fixed_image_creation_to_append'][$k]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
response(trans('Empty_name') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'paste_clipboard':
|
||||||
|
if (!isset($_SESSION['RF']['clipboard_action'], $_SESSION['RF']['clipboard']['path'])
|
||||||
|
|| $_SESSION['RF']['clipboard_action'] == ''
|
||||||
|
|| $_SESSION['RF']['clipboard']['path'] == '') {
|
||||||
|
response()->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
$action = $_SESSION['RF']['clipboard_action'];
|
||||||
|
$data = $_SESSION['RF']['clipboard'];
|
||||||
|
|
||||||
|
|
||||||
if($ftp){
|
if ($ftp) {
|
||||||
if($_POST['path']!=""){
|
if ($_POST['path'] != "") {
|
||||||
$path.=DIRECTORY_SEPARATOR;
|
$path .= DIRECTORY_SEPARATOR;
|
||||||
$path_thumb.=DIRECTORY_SEPARATOR;
|
$path_thumb .= DIRECTORY_SEPARATOR;
|
||||||
}
|
}
|
||||||
$path_thumb .= basename($data['path']);
|
$path_thumb .= basename($data['path']);
|
||||||
$path .= basename($data['path']) ;
|
$path .= basename($data['path']);
|
||||||
$data['path_thumb'] = DIRECTORY_SEPARATOR.$config['ftp_base_folder'].$config['ftp_thumbs_dir'].$data['path'];
|
$data['path_thumb'] = DIRECTORY_SEPARATOR . $config['ftp_base_folder'] . $config['ftp_thumbs_dir'] . $data['path'];
|
||||||
$data['path'] = DIRECTORY_SEPARATOR.$config['ftp_base_folder'].$config['upload_dir'].$data['path'];
|
$data['path'] = DIRECTORY_SEPARATOR . $config['ftp_base_folder'] . $config['upload_dir'] . $data['path'];
|
||||||
}else{
|
} else {
|
||||||
$data['path_thumb'] = $config['thumbs_base_path'].$data['path'];
|
$data['path_thumb'] = $config['thumbs_base_path'] . $data['path'];
|
||||||
$data['path'] = $config['current_path'].$data['path'];
|
$data['path'] = $config['current_path'] . $data['path'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$pinfo = pathinfo($data['path']);
|
$pinfo = pathinfo($data['path']);
|
||||||
|
|
||||||
// user wants to paste to the same dir. nothing to do here...
|
// user wants to paste to the same dir. nothing to do here...
|
||||||
if ($pinfo['dirname'] == rtrim($path, DIRECTORY_SEPARATOR)) {
|
if ($pinfo['dirname'] == rtrim($path, DIRECTORY_SEPARATOR)) {
|
||||||
response()->send();
|
response()->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// user wants to paste folder to it's own sub folder.. baaaah.
|
// user wants to paste folder to it's own sub folder.. baaaah.
|
||||||
if (is_dir($data['path']) && strpos($path, $data['path']) !== FALSE){
|
if (is_dir($data['path']) && strpos($path, $data['path']) !== false) {
|
||||||
response()->send();
|
response()->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// something terribly gone wrong
|
// something terribly gone wrong
|
||||||
if ($action != 'copy' && $action != 'cut'){
|
if ($action != 'copy' && $action != 'cut') {
|
||||||
response(trans('wrong action').AddErrorLocation())->send();
|
response(trans('wrong action') . AddErrorLocation())->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
if($ftp){
|
if ($ftp) {
|
||||||
if ($action == 'copy')
|
if ($action == 'copy') {
|
||||||
{
|
$tmp = time() . basename($data['path']);
|
||||||
$tmp = time().basename($data['path']);
|
$ftp->get($tmp, $data['path'], FTP_BINARY);
|
||||||
$ftp->get($tmp, $data['path'], FTP_BINARY);
|
$ftp->put(DIRECTORY_SEPARATOR . $path, $tmp, FTP_BINARY);
|
||||||
$ftp->put(DIRECTORY_SEPARATOR.$path, $tmp, FTP_BINARY);
|
unlink($tmp);
|
||||||
unlink($tmp);
|
|
||||||
|
|
||||||
if(url_exists($data['path_thumb'])){
|
if (url_exists($data['path_thumb'])) {
|
||||||
$tmp = time().basename($data['path_thumb']);
|
$tmp = time() . basename($data['path_thumb']);
|
||||||
@$ftp->get($tmp, $data['path_thumb'], FTP_BINARY);
|
@$ftp->get($tmp, $data['path_thumb'], FTP_BINARY);
|
||||||
@$ftp->put(DIRECTORY_SEPARATOR.$path_thumb, $tmp, FTP_BINARY);
|
@$ftp->put(DIRECTORY_SEPARATOR . $path_thumb, $tmp, FTP_BINARY);
|
||||||
unlink($tmp);
|
unlink($tmp);
|
||||||
}
|
}
|
||||||
|
} elseif ($action == 'cut') {
|
||||||
|
$ftp->rename($data['path'], DIRECTORY_SEPARATOR . $path);
|
||||||
|
if (url_exists($data['path_thumb'])) {
|
||||||
|
@$ftp->rename($data['path_thumb'], DIRECTORY_SEPARATOR . $path_thumb);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// check for writability
|
||||||
|
if (is_really_writable($path) === false || is_really_writable($path_thumb) === false) {
|
||||||
|
response(trans('Dir_No_Write') . '<br/>' . str_replace('../', '', $path) . '<br/>' . str_replace('../', '', $path_thumb) . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
} elseif ($action == 'cut') {
|
// check if server disables copy or rename
|
||||||
$ftp->rename($data['path'], DIRECTORY_SEPARATOR.$path);
|
if (is_function_callable(($action == 'copy' ? 'copy' : 'rename')) === false) {
|
||||||
if(url_exists($data['path_thumb'])){
|
response(sprintf(trans('Function_Disabled'), ($action == 'copy' ? (trans('Copy')) : (trans('Cut')))) . AddErrorLocation())->send();
|
||||||
@$ftp->rename($data['path_thumb'], DIRECTORY_SEPARATOR.$path_thumb);
|
exit;
|
||||||
}
|
}
|
||||||
}
|
if ($action == 'copy') {
|
||||||
}else{
|
list($sizeFolderToCopy, $fileNum, $foldersCount) = folder_info($path, false);
|
||||||
// check for writability
|
if (!checkresultingsize($sizeFolderToCopy)) {
|
||||||
if (is_really_writable($path) === FALSE || is_really_writable($path_thumb) === FALSE){
|
response(sprintf(trans('max_size_reached'), $config['MaxSizeTotal']) . AddErrorLocation())->send();
|
||||||
response(trans('Dir_No_Write').'<br/>'.str_replace('../','',$path).'<br/>'.str_replace('../','',$path_thumb).AddErrorLocation())->send();
|
exit;
|
||||||
exit;
|
}
|
||||||
}
|
rcopy($data['path'], $path);
|
||||||
|
rcopy($data['path_thumb'], $path_thumb);
|
||||||
// check if server disables copy or rename
|
} elseif ($action == 'cut') {
|
||||||
if (is_function_callable(($action == 'copy' ? 'copy' : 'rename')) === FALSE){
|
rrename($data['path'], $path);
|
||||||
response(sprintf(trans('Function_Disabled'), ($action == 'copy' ? (trans('Copy')) : (trans('Cut')))).AddErrorLocation())->send();
|
rrename($data['path_thumb'], $path_thumb);
|
||||||
exit;
|
|
||||||
}
|
|
||||||
if ($action == 'copy')
|
|
||||||
{
|
|
||||||
list($sizeFolderToCopy,$fileNum,$foldersCount) = folder_info($path,false);
|
|
||||||
if (!checkresultingsize($sizeFolderToCopy)) {
|
|
||||||
response(sprintf(trans('max_size_reached'),$config['MaxSizeTotal']).AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
rcopy($data['path'], $path);
|
|
||||||
rcopy($data['path_thumb'], $path_thumb);
|
|
||||||
} elseif ($action == 'cut') {
|
|
||||||
rrename($data['path'], $path);
|
|
||||||
rrename($data['path_thumb'], $path_thumb);
|
|
||||||
|
|
||||||
// cleanup
|
// cleanup
|
||||||
if (is_dir($data['path']) === TRUE){
|
if (is_dir($data['path']) === TRUE){
|
||||||
@ -431,91 +416,90 @@ if (isset($_GET['action']))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// cleanup
|
// cleanup
|
||||||
$_SESSION['RF']['clipboard']['path'] = NULL;
|
$_SESSION['RF']['clipboard']['path'] = null;
|
||||||
$_SESSION['RF']['clipboard_action'] = NULL;
|
$_SESSION['RF']['clipboard_action'] = null;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'chmod':
|
|
||||||
$mode = $_POST['new_mode'];
|
|
||||||
$rec_option = $_POST['is_recursive'];
|
|
||||||
$valid_options = array('none', 'files', 'folders', 'both');
|
|
||||||
$chmod_perm = ($_POST['folder'] ? $config['chmod_dirs'] : $config['chmod_files']);
|
|
||||||
|
|
||||||
// check perm
|
case 'chmod':
|
||||||
if ($chmod_perm === FALSE) {
|
$mode = $_POST['new_mode'];
|
||||||
response(sprintf(trans('File_Permission_Not_Allowed'), (is_dir($path) ? (trans('Folders')) : (trans('Files')) )).AddErrorLocation())->send();
|
$rec_option = $_POST['is_recursive'];
|
||||||
exit;
|
$valid_options = array('none', 'files', 'folders', 'both');
|
||||||
}
|
$chmod_perm = ($_POST['folder'] ? $config['chmod_dirs'] : $config['chmod_files']);
|
||||||
// check mode
|
|
||||||
if (!preg_match("/^[0-7]{3}$/", $mode)){
|
|
||||||
response(trans('File_Permission_Wrong_Mode').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
// check recursive option
|
|
||||||
if (!in_array($rec_option, $valid_options)){
|
|
||||||
response(trans("wrong option").AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
// check if server disabled chmod
|
|
||||||
if (!$ftp && is_function_callable('chmod') === FALSE){
|
|
||||||
response(sprintf(trans('Function_Disabled'), 'chmod').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
$mode = "0".$mode;
|
// check perm
|
||||||
$mode = octdec($mode);
|
if ($chmod_perm === false) {
|
||||||
if($ftp){
|
response(sprintf(trans('File_Permission_Not_Allowed'), (is_dir($path) ? (trans('Folders')) : (trans('Files')))) . AddErrorLocation())->send();
|
||||||
$ftp->chmod($mode, "/".$path);
|
exit;
|
||||||
}else{
|
}
|
||||||
rchmod($path, $mode, $rec_option);
|
// check mode
|
||||||
}
|
if (!preg_match("/^[0-7]{3}$/", $mode)) {
|
||||||
|
response(trans('File_Permission_Wrong_Mode') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
// check recursive option
|
||||||
|
if (!in_array($rec_option, $valid_options)) {
|
||||||
|
response(trans("wrong option") . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
// check if server disabled chmod
|
||||||
|
if (!$ftp && is_function_callable('chmod') === false) {
|
||||||
|
response(sprintf(trans('Function_Disabled'), 'chmod') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
$mode = "0" . $mode;
|
||||||
case 'save_text_file':
|
$mode = octdec($mode);
|
||||||
$content = $_POST['new_content'];
|
if ($ftp) {
|
||||||
// $content = htmlspecialchars($content); not needed
|
$ftp->chmod($mode, "/" . $path);
|
||||||
// $content = stripslashes($content);
|
} else {
|
||||||
|
rchmod($path, $mode, $rec_option);
|
||||||
|
}
|
||||||
|
|
||||||
if($ftp){
|
break;
|
||||||
$tmp = time();
|
|
||||||
file_put_contents($tmp, $content);
|
|
||||||
try{
|
|
||||||
$ftp->put("/".$path, $tmp, FTP_BINARY);
|
|
||||||
}catch(FtpClient\FtpException $e){
|
|
||||||
echo $e->getMessage();
|
|
||||||
}
|
|
||||||
unlink($tmp);
|
|
||||||
response(trans('File_Save_OK'))->send();
|
|
||||||
}else{
|
|
||||||
// no file
|
|
||||||
if (!file_exists($path)) {
|
|
||||||
response(trans('File_Not_Found').AddErrorLocation())->send();
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
// not writable or edit not allowed
|
case 'save_text_file':
|
||||||
if (!is_writable($path) || $config['edit_text_files'] === FALSE) {
|
$content = $_POST['new_content'];
|
||||||
response(sprintf(trans('File_Open_Edit_Not_Allowed'), strtolower(trans('Edit'))).AddErrorLocation())->send();
|
// $content = htmlspecialchars($content); not needed
|
||||||
exit;
|
// $content = stripslashes($content);
|
||||||
}
|
|
||||||
|
|
||||||
if (!checkresultingsize(strlen($content))) {
|
if ($ftp) {
|
||||||
response(sprintf(trans('max_size_reached'),$config['MaxSizeTotal']).AddErrorLocation())->send();
|
$tmp = time();
|
||||||
exit;
|
file_put_contents($tmp, $content);
|
||||||
}
|
$ftp->put("/" . $path, $tmp, FTP_BINARY);
|
||||||
if (@file_put_contents($path, $content) === FALSE) {
|
unlink($tmp);
|
||||||
response(trans('File_Save_Error').AddErrorLocation())->send();
|
response(trans('File_Save_OK'))->send();
|
||||||
exit;
|
} else {
|
||||||
} else {
|
// no file
|
||||||
response(trans('File_Save_OK'))->send();
|
if (!file_exists($path)) {
|
||||||
exit;
|
response(trans('File_Not_Found') . AddErrorLocation())->send();
|
||||||
}
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
// not writable or edit not allowed
|
||||||
default:
|
if (!is_writable($path) || $config['edit_text_files'] === false) {
|
||||||
response(trans('wrong action').AddErrorLocation())->send();
|
response(sprintf(trans('File_Open_Edit_Not_Allowed'), strtolower(trans('Edit'))) . AddErrorLocation())->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!checkresultingsize(strlen($content))) {
|
||||||
|
response(sprintf(trans('max_size_reached'), $config['MaxSizeTotal']) . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
if (@file_put_contents($path, $content) === false) {
|
||||||
|
response(trans('File_Save_Error') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
} else {
|
||||||
|
response(trans('File_Save_OK'))->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
response(trans('wrong action') . AddErrorLocation())->send();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
25
core/vendor/filemanager/force_download.php
vendored
@ -5,27 +5,23 @@ $config = include 'config/config.php';
|
|||||||
include 'include/utils.php';
|
include 'include/utils.php';
|
||||||
include 'include/mime_type_lib.php';
|
include 'include/mime_type_lib.php';
|
||||||
|
|
||||||
$ftp = ftp_con($config);
|
|
||||||
|
|
||||||
if ($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager") {
|
if ($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager") {
|
||||||
response(trans('forbiden') . AddErrorLocation(), 403)->send();
|
response(trans('forbidden') . AddErrorLocation(), 403)->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!checkRelativePath($_POST['path']) || strpos($_POST['path'], '/') === 0) {
|
||||||
if (!checkRelativePath($_POST['path']) ||
|
response(trans('wrong path') . AddErrorLocation(), 400)->send();
|
||||||
strpos($_POST['path'], '/') === 0
|
|
||||||
) {
|
|
||||||
response(trans('wrong path').AddErrorLocation(), 400)->send();
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (strpos($_POST['name'], '/') !== false) {
|
if (strpos($_POST['name'], '/') !== false) {
|
||||||
response(trans('wrong path').AddErrorLocation(), 400)->send();
|
response(trans('wrong path') . AddErrorLocation(), 400)->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ftp = ftp_con($config);
|
||||||
|
|
||||||
if ($ftp) {
|
if ($ftp) {
|
||||||
$path = $config['ftp_base_url'] . $config['upload_dir'] . $_POST['path'];
|
$path = $config['ftp_base_url'] . $config['upload_dir'] . $_POST['path'];
|
||||||
} else {
|
} else {
|
||||||
@ -36,13 +32,13 @@ $name = $_POST['name'];
|
|||||||
$info = pathinfo($name);
|
$info = pathinfo($name);
|
||||||
|
|
||||||
if (!check_extension($info['extension'], $config)) {
|
if (!check_extension($info['extension'], $config)) {
|
||||||
response(trans('wrong extension').AddErrorLocation(), 400)->send();
|
response(trans('wrong extension') . AddErrorLocation(), 400)->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$file_name = $info['basename'];
|
$file_name = $info['basename'];
|
||||||
$file_ext = $info['extension'];
|
$file_ext = $info['extension'];
|
||||||
$file_path = $path . $name;
|
$file_path = $path . $name;
|
||||||
|
|
||||||
|
|
||||||
// make sure the file exists
|
// make sure the file exists
|
||||||
@ -102,6 +98,7 @@ if ($ftp) {
|
|||||||
|
|
||||||
$chunksize = 1 * (1024 * 1024);
|
$chunksize = 1 * (1024 * 1024);
|
||||||
$bytes_send = 0;
|
$bytes_send = 0;
|
||||||
|
|
||||||
if ($file = fopen($file_path, 'r')) {
|
if ($file = fopen($file_path, 'r')) {
|
||||||
if (isset($_SERVER['HTTP_RANGE'])) {
|
if (isset($_SERVER['HTTP_RANGE'])) {
|
||||||
fseek($file, $range);
|
fseek($file, $range);
|
||||||
|
0
core/vendor/filemanager/img/ico_dark/ac3.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/accdb.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/ade.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/adp.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/ai.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/aiff.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/avi.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/bmp.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/css.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/csv.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
0
core/vendor/filemanager/img/ico_dark/default.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/dmg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/doc.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/docx.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/favicon.ico
vendored
Normal file → Executable file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
core/vendor/filemanager/img/ico_dark/fla.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/flv.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/folder.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
0
core/vendor/filemanager/img/ico_dark/folder_back.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
core/vendor/filemanager/img/ico_dark/gif.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/gz.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/html.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
core/vendor/filemanager/img/ico_dark/iso.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/jpeg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
core/vendor/filemanager/img/ico_dark/jpg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/log.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/m4a.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/mdb.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/mid.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/mov.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/mp3.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/mp4.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/mpeg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/mpg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/odb.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/odf.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/odg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/odp.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/ods.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/odt.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/ogg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/otg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/otp.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/ots.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/ott.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
0
core/vendor/filemanager/img/ico_dark/pdf.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
core/vendor/filemanager/img/ico_dark/png.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/ppt.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
0
core/vendor/filemanager/img/ico_dark/pptx.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/psd.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
0
core/vendor/filemanager/img/ico_dark/rar.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/rtf.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
core/vendor/filemanager/img/ico_dark/sql.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/svg.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/tar.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
core/vendor/filemanager/img/ico_dark/tiff.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/txt.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/wav.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/webm.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/wma.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
core/vendor/filemanager/img/ico_dark/xhtml.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
core/vendor/filemanager/img/ico_dark/xls.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
0
core/vendor/filemanager/img/ico_dark/xlsx.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
0
core/vendor/filemanager/img/ico_dark/xml.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
core/vendor/filemanager/img/ico_dark/zip.jpg
vendored
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
534
core/vendor/filemanager/include/mime_type_lib.php
vendored
@ -1,267 +1,267 @@
|
|||||||
<?php
|
<?php
|
||||||
$mime_types = array(
|
$mime_types = array(
|
||||||
"application/postscript" => "ps",
|
"application/postscript" => "ps",
|
||||||
"audio/x-aiff" => "aiff",
|
"audio/x-aiff" => "aiff",
|
||||||
"text/plain" => "txt",
|
"text/plain" => "txt",
|
||||||
"video/x-ms-asf" => "asx",
|
"video/x-ms-asf" => "asx",
|
||||||
"audio/basic" => "snd",
|
"audio/basic" => "snd",
|
||||||
"video/x-msvideo" => "avi",
|
"video/x-msvideo" => "avi",
|
||||||
"application/x-bcpio" => "bcpio",
|
"application/x-bcpio" => "bcpio",
|
||||||
"application/octet-stream" => "so",
|
"application/octet-stream" => "so",
|
||||||
"image/bmp" => "bmp",
|
"image/bmp" => "bmp",
|
||||||
"application/x-rar" => "rar",
|
"application/x-rar" => "rar",
|
||||||
"application/x-bzip2" => "bz2",
|
"application/x-bzip2" => "bz2",
|
||||||
"application/x-netcdf" => "nc",
|
"application/x-netcdf" => "nc",
|
||||||
"application/x-kchart" => "chrt",
|
"application/x-kchart" => "chrt",
|
||||||
"application/x-cpio" => "cpio",
|
"application/x-cpio" => "cpio",
|
||||||
"application/mac-compactpro" => "cpt",
|
"application/mac-compactpro" => "cpt",
|
||||||
"application/x-csh" => "csh",
|
"application/x-csh" => "csh",
|
||||||
"text/css" => "css",
|
"text/css" => "css",
|
||||||
"application/x-director" => "dxr",
|
"application/x-director" => "dxr",
|
||||||
"image/vnd.djvu" => "djvu",
|
"image/vnd.djvu" => "djvu",
|
||||||
"application/x-dvi" => "dvi",
|
"application/x-dvi" => "dvi",
|
||||||
"image/vnd.dwg" => "dwg",
|
"image/vnd.dwg" => "dwg",
|
||||||
"application/epub" => "epub",
|
"application/epub" => "epub",
|
||||||
"application/epub+zip" => "epub",
|
"application/epub+zip" => "epub",
|
||||||
"text/x-setext" => "etx",
|
"text/x-setext" => "etx",
|
||||||
"application/andrew-inset" => "ez",
|
"application/andrew-inset" => "ez",
|
||||||
"video/x-flv" => "flv",
|
"video/x-flv" => "flv",
|
||||||
"image/gif" => "gif",
|
"image/gif" => "gif",
|
||||||
"application/x-gtar" => "gtar",
|
"application/x-gtar" => "gtar",
|
||||||
"application/x-gzip" => "tgz",
|
"application/x-gzip" => "tgz",
|
||||||
"application/x-hdf" => "hdf",
|
"application/x-hdf" => "hdf",
|
||||||
"application/mac-binhex40" => "hqx",
|
"application/mac-binhex40" => "hqx",
|
||||||
"text/html" => "html",
|
"text/html" => "html",
|
||||||
"text/htm" => "htm",
|
"text/htm" => "htm",
|
||||||
"x-conference/x-cooltalk" => "ice",
|
"x-conference/x-cooltalk" => "ice",
|
||||||
"image/ief" => "ief",
|
"image/ief" => "ief",
|
||||||
"model/iges" => "igs",
|
"model/iges" => "igs",
|
||||||
"text/vnd.sun.j2me.app-descriptor" => "jad",
|
"text/vnd.sun.j2me.app-descriptor" => "jad",
|
||||||
"application/x-java-archive" => "jar",
|
"application/x-java-archive" => "jar",
|
||||||
"application/x-java-jnlp-file" => "jnlp",
|
"application/x-java-jnlp-file" => "jnlp",
|
||||||
"image/jpeg" => "jpg",
|
"image/jpeg" => "jpg",
|
||||||
"application/x-javascript" => "js",
|
"application/x-javascript" => "js",
|
||||||
"audio/midi" => "midi",
|
"audio/midi" => "midi",
|
||||||
"application/x-killustrator" => "kil",
|
"application/x-killustrator" => "kil",
|
||||||
"application/x-kpresenter" => "kpt",
|
"application/x-kpresenter" => "kpt",
|
||||||
"application/x-kspread" => "ksp",
|
"application/x-kspread" => "ksp",
|
||||||
"application/x-kword" => "kwt",
|
"application/x-kword" => "kwt",
|
||||||
"application/vnd.google-earth.kml+xml" => "kml",
|
"application/vnd.google-earth.kml+xml" => "kml",
|
||||||
"application/vnd.google-earth.kmz" => "kmz",
|
"application/vnd.google-earth.kmz" => "kmz",
|
||||||
"application/x-latex" => "latex",
|
"application/x-latex" => "latex",
|
||||||
"audio/x-mpegurl" => "m3u",
|
"audio/x-mpegurl" => "m3u",
|
||||||
"application/x-troff-man" => "man",
|
"application/x-troff-man" => "man",
|
||||||
"application/x-troff-me" => "me",
|
"application/x-troff-me" => "me",
|
||||||
"model/mesh" => "silo",
|
"model/mesh" => "silo",
|
||||||
"application/vnd.mif" => "mif",
|
"application/vnd.mif" => "mif",
|
||||||
"video/quicktime" => "mov",
|
"video/quicktime" => "mov",
|
||||||
"video/x-sgi-movie" => "movie",
|
"video/x-sgi-movie" => "movie",
|
||||||
"audio/mpeg" => "mp3",
|
"audio/mpeg" => "mp3",
|
||||||
"video/mp4" => "mp4",
|
"video/mp4" => "mp4",
|
||||||
"video/mpeg" => "mpeg",
|
"video/mpeg" => "mpeg",
|
||||||
"application/x-troff-ms" => "ms",
|
"application/x-troff-ms" => "ms",
|
||||||
"video/vnd.mpegurl" => "mxu",
|
"video/vnd.mpegurl" => "mxu",
|
||||||
"application/vnd.oasis.opendocument.database" => "odb",
|
"application/vnd.oasis.opendocument.database" => "odb",
|
||||||
"application/vnd.oasis.opendocument.chart" => "odc",
|
"application/vnd.oasis.opendocument.chart" => "odc",
|
||||||
"application/vnd.oasis.opendocument.formula" => "odf",
|
"application/vnd.oasis.opendocument.formula" => "odf",
|
||||||
"application/vnd.oasis.opendocument.graphics" => "odg",
|
"application/vnd.oasis.opendocument.graphics" => "odg",
|
||||||
"application/vnd.oasis.opendocument.image" => "odi",
|
"application/vnd.oasis.opendocument.image" => "odi",
|
||||||
"application/vnd.oasis.opendocument.text-master" => "odm",
|
"application/vnd.oasis.opendocument.text-master" => "odm",
|
||||||
"application/vnd.oasis.opendocument.presentation" => "odp",
|
"application/vnd.oasis.opendocument.presentation" => "odp",
|
||||||
"application/vnd.oasis.opendocument.spreadsheet" => "ods",
|
"application/vnd.oasis.opendocument.spreadsheet" => "ods",
|
||||||
"application/vnd.oasis.opendocument.text" => "odt",
|
"application/vnd.oasis.opendocument.text" => "odt",
|
||||||
"application/ogg" => "ogg",
|
"application/ogg" => "ogg",
|
||||||
"video/ogg" => "ogv",
|
"video/ogg" => "ogv",
|
||||||
"application/vnd.oasis.opendocument.graphics-template" => "otg",
|
"application/vnd.oasis.opendocument.graphics-template" => "otg",
|
||||||
"application/vnd.oasis.opendocument.text-web" => "oth",
|
"application/vnd.oasis.opendocument.text-web" => "oth",
|
||||||
"application/vnd.oasis.opendocument.presentation-template" => "otp",
|
"application/vnd.oasis.opendocument.presentation-template" => "otp",
|
||||||
"application/vnd.oasis.opendocument.spreadsheet-template" => "ots",
|
"application/vnd.oasis.opendocument.spreadsheet-template" => "ots",
|
||||||
"application/vnd.oasis.opendocument.text-template" => "ott",
|
"application/vnd.oasis.opendocument.text-template" => "ott",
|
||||||
"image/x-portable-bitmap" => "pbm",
|
"image/x-portable-bitmap" => "pbm",
|
||||||
"chemical/x-pdb" => "pdb",
|
"chemical/x-pdb" => "pdb",
|
||||||
"application/pdf" => "pdf",
|
"application/pdf" => "pdf",
|
||||||
"image/x-portable-graymap" => "pgm",
|
"image/x-portable-graymap" => "pgm",
|
||||||
"application/x-chess-pgn" => "pgn",
|
"application/x-chess-pgn" => "pgn",
|
||||||
"text/x-php" => "php",
|
"text/x-php" => "php",
|
||||||
"image/png" => "png",
|
"image/png" => "png",
|
||||||
"image/x-portable-anymap" => "pnm",
|
"image/x-portable-anymap" => "pnm",
|
||||||
"image/x-portable-pixmap" => "ppm",
|
"image/x-portable-pixmap" => "ppm",
|
||||||
"application/vnd.ms-powerpoint" => "ppt",
|
"application/vnd.ms-powerpoint" => "ppt",
|
||||||
"audio/x-realaudio" => "ra",
|
"audio/x-realaudio" => "ra",
|
||||||
"audio/x-pn-realaudio" => "rm",
|
"audio/x-pn-realaudio" => "rm",
|
||||||
"image/x-cmu-raster" => "ras",
|
"image/x-cmu-raster" => "ras",
|
||||||
"image/x-rgb" => "rgb",
|
"image/x-rgb" => "rgb",
|
||||||
"application/x-troff" => "tr",
|
"application/x-troff" => "tr",
|
||||||
"application/x-rpm" => "rpm",
|
"application/x-rpm" => "rpm",
|
||||||
"text/rtf" => "rtf",
|
"text/rtf" => "rtf",
|
||||||
"text/richtext" => "rtx",
|
"text/richtext" => "rtx",
|
||||||
"text/sgml" => "sgml",
|
"text/sgml" => "sgml",
|
||||||
"application/x-sh" => "sh",
|
"application/x-sh" => "sh",
|
||||||
"application/x-shar" => "shar",
|
"application/x-shar" => "shar",
|
||||||
"application/vnd.symbian.install" => "sis",
|
"application/vnd.symbian.install" => "sis",
|
||||||
"application/x-stuffit" => "sit",
|
"application/x-stuffit" => "sit",
|
||||||
"application/x-koan" => "skt",
|
"application/x-koan" => "skt",
|
||||||
"application/smil" => "smil",
|
"application/smil" => "smil",
|
||||||
"image/svg+xml" => "svg",
|
"image/svg+xml" => "svg",
|
||||||
"application/x-futuresplash" => "spl",
|
"application/x-futuresplash" => "spl",
|
||||||
"application/x-wais-source" => "src",
|
"application/x-wais-source" => "src",
|
||||||
"application/vnd.sun.xml.calc.template" => "stc",
|
"application/vnd.sun.xml.calc.template" => "stc",
|
||||||
"application/vnd.sun.xml.draw.template" => "std",
|
"application/vnd.sun.xml.draw.template" => "std",
|
||||||
"application/vnd.sun.xml.impress.template" => "sti",
|
"application/vnd.sun.xml.impress.template" => "sti",
|
||||||
"application/vnd.sun.xml.writer.template" => "stw",
|
"application/vnd.sun.xml.writer.template" => "stw",
|
||||||
"application/x-sv4cpio" => "sv4cpio",
|
"application/x-sv4cpio" => "sv4cpio",
|
||||||
"application/x-sv4crc" => "sv4crc",
|
"application/x-sv4crc" => "sv4crc",
|
||||||
"application/x-shockwave-flash" => "swf",
|
"application/x-shockwave-flash" => "swf",
|
||||||
"application/vnd.sun.xml.calc" => "sxc",
|
"application/vnd.sun.xml.calc" => "sxc",
|
||||||
"application/vnd.sun.xml.draw" => "sxd",
|
"application/vnd.sun.xml.draw" => "sxd",
|
||||||
"application/vnd.sun.xml.writer.global" => "sxg",
|
"application/vnd.sun.xml.writer.global" => "sxg",
|
||||||
"application/vnd.sun.xml.impress" => "sxi",
|
"application/vnd.sun.xml.impress" => "sxi",
|
||||||
"application/vnd.sun.xml.math" => "sxm",
|
"application/vnd.sun.xml.math" => "sxm",
|
||||||
"application/vnd.sun.xml.writer" => "sxw",
|
"application/vnd.sun.xml.writer" => "sxw",
|
||||||
"application/x-tar" => "tar",
|
"application/x-tar" => "tar",
|
||||||
"application/x-tcl" => "tcl",
|
"application/x-tcl" => "tcl",
|
||||||
"application/x-tex" => "tex",
|
"application/x-tex" => "tex",
|
||||||
"application/x-texinfo" => "texinfo",
|
"application/x-texinfo" => "texinfo",
|
||||||
"image/tiff" => "tiff",
|
"image/tiff" => "tiff",
|
||||||
"image/tiff-fx" => "tiff",
|
"image/tiff-fx" => "tiff",
|
||||||
"application/x-bittorrent" => "torrent",
|
"application/x-bittorrent" => "torrent",
|
||||||
"text/tab-separated-values" => "tsv",
|
"text/tab-separated-values" => "tsv",
|
||||||
"application/x-ustar" => "ustar",
|
"application/x-ustar" => "ustar",
|
||||||
"application/x-cdlink" => "vcd",
|
"application/x-cdlink" => "vcd",
|
||||||
"model/vrml" => "wrl",
|
"model/vrml" => "wrl",
|
||||||
"audio/x-wav" => "wav",
|
"audio/x-wav" => "wav",
|
||||||
"audio/x-ms-wax" => "wax",
|
"audio/x-ms-wax" => "wax",
|
||||||
"image/vnd.wap.wbmp" => "wbmp",
|
"image/vnd.wap.wbmp" => "wbmp",
|
||||||
"application/vnd.wap.wbxml" => "wbxml",
|
"application/vnd.wap.wbxml" => "wbxml",
|
||||||
"video/x-ms-wm" => "wm",
|
"video/x-ms-wm" => "wm",
|
||||||
"audio/x-ms-wma" => "wma",
|
"audio/x-ms-wma" => "wma",
|
||||||
"text/vnd.wap.wml" => "wml",
|
"text/vnd.wap.wml" => "wml",
|
||||||
"application/vnd.wap.wmlc" => "wmlc",
|
"application/vnd.wap.wmlc" => "wmlc",
|
||||||
"text/vnd.wap.wmlscript" => "wmls",
|
"text/vnd.wap.wmlscript" => "wmls",
|
||||||
"application/vnd.wap.wmlscriptc" => "wmlsc",
|
"application/vnd.wap.wmlscriptc" => "wmlsc",
|
||||||
"video/x-ms-wmv" => "wmv",
|
"video/x-ms-wmv" => "wmv",
|
||||||
"video/x-ms-wmx" => "wmx",
|
"video/x-ms-wmx" => "wmx",
|
||||||
"video/x-ms-wvx" => "wvx",
|
"video/x-ms-wvx" => "wvx",
|
||||||
"image/x-xbitmap" => "xbm",
|
"image/x-xbitmap" => "xbm",
|
||||||
"application/xhtml+xml" => "xhtml",
|
"application/xhtml+xml" => "xhtml",
|
||||||
"application/xml" => "xml",
|
"application/xml" => "xml",
|
||||||
"image/x-xpixmap" => "xpm",
|
"image/x-xpixmap" => "xpm",
|
||||||
"text/xsl" => "xsl",
|
"text/xsl" => "xsl",
|
||||||
"image/x-xwindowdump" => "xwd",
|
"image/x-xwindowdump" => "xwd",
|
||||||
"chemical/x-xyz" => "xyz",
|
"chemical/x-xyz" => "xyz",
|
||||||
"application/zip" => "zip",
|
"application/zip" => "zip",
|
||||||
"application/msword" => "doc",
|
"application/msword" => "doc",
|
||||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.document" => "docx",
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document" => "docx",
|
||||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.template" => "dotx",
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.template" => "dotx",
|
||||||
"application/vnd.ms-word.document.macroEnabled.12" => "docm",
|
"application/vnd.ms-word.document.macroEnabled.12" => "docm",
|
||||||
"application/vnd.ms-excel" => "xls",
|
"application/vnd.ms-excel" => "xls",
|
||||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" => "xlsx",
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" => "xlsx",
|
||||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.template" => "xltx",
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.template" => "xltx",
|
||||||
"application/vnd.ms-excel.sheet.macroEnabled.12" => "xlsm",
|
"application/vnd.ms-excel.sheet.macroEnabled.12" => "xlsm",
|
||||||
"application/vnd.ms-excel.template.macroEnabled.12" => "xltm",
|
"application/vnd.ms-excel.template.macroEnabled.12" => "xltm",
|
||||||
"application/vnd.ms-excel.addin.macroEnabled.12" => "xlam",
|
"application/vnd.ms-excel.addin.macroEnabled.12" => "xlam",
|
||||||
"application/vnd.ms-excel.sheet.binary.macroEnabled.12" => "xlsb",
|
"application/vnd.ms-excel.sheet.binary.macroEnabled.12" => "xlsb",
|
||||||
"application/vnd.openxmlformats-officedocument.presentationml.presentation" => "pptx",
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation" => "pptx",
|
||||||
"application/vnd.openxmlformats-officedocument.presentationml.template" => "potx",
|
"application/vnd.openxmlformats-officedocument.presentationml.template" => "potx",
|
||||||
"application/vnd.openxmlformats-officedocument.presentationml.slideshow" => "ppsx",
|
"application/vnd.openxmlformats-officedocument.presentationml.slideshow" => "ppsx",
|
||||||
"application/vnd.ms-powerpoint.addin.macroEnabled.12" => "ppam",
|
"application/vnd.ms-powerpoint.addin.macroEnabled.12" => "ppam",
|
||||||
"application/vnd.ms-powerpoint.presentation.macroEnabled.12" => "pptm",
|
"application/vnd.ms-powerpoint.presentation.macroEnabled.12" => "pptm",
|
||||||
"application/vnd.ms-powerpoint.template.macroEnabled.12" => "potm",
|
"application/vnd.ms-powerpoint.template.macroEnabled.12" => "potm",
|
||||||
"application/vnd.ms-powerpoint.slideshow.macroEnabled.12" => "ppsm",
|
"application/vnd.ms-powerpoint.slideshow.macroEnabled.12" => "ppsm",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
if ( ! function_exists('get_extension_from_mime'))
|
if ( ! function_exists('get_extension_from_mime'))
|
||||||
{
|
{
|
||||||
function get_extension_from_mime($mime){
|
function get_extension_from_mime($mime){
|
||||||
global $mime_types;
|
global $mime_types;
|
||||||
if(strpos($mime, ';')!==FALSE){
|
if(strpos($mime, ';')!==FALSE){
|
||||||
$mime = substr($mime, 0,strpos($mime, ';'));
|
$mime = substr($mime, 0,strpos($mime, ';'));
|
||||||
}
|
}
|
||||||
if(isset($mime_types[$mime])){
|
if(isset($mime_types[$mime])){
|
||||||
return $mime_types[$mime];
|
return $mime_types[$mime];
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! function_exists('get_file_mime_type'))
|
if ( ! function_exists('get_file_mime_type'))
|
||||||
{
|
{
|
||||||
function get_file_mime_type($filename, $debug = false)
|
function get_file_mime_type($filename, $debug = false)
|
||||||
{
|
{
|
||||||
if (function_exists('finfo_open') && function_exists('finfo_file') && function_exists('finfo_close'))
|
if (function_exists('finfo_open') && function_exists('finfo_file') && function_exists('finfo_close'))
|
||||||
{
|
{
|
||||||
$fileinfo = finfo_open(FILEINFO_MIME_TYPE);
|
$fileinfo = finfo_open(FILEINFO_MIME_TYPE);
|
||||||
$mime_type = finfo_file($fileinfo, $filename);
|
$mime_type = finfo_file($fileinfo, $filename);
|
||||||
finfo_close($fileinfo);
|
finfo_close($fileinfo);
|
||||||
|
|
||||||
if ( ! empty($mime_type))
|
if ( ! empty($mime_type))
|
||||||
{
|
{
|
||||||
if (true === $debug)
|
if (true === $debug)
|
||||||
{
|
{
|
||||||
return array( 'mime_type' => $mime_type, 'method' => 'fileinfo' );
|
return array( 'mime_type' => $mime_type, 'method' => 'fileinfo' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $mime_type;
|
return $mime_type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (function_exists('mime_content_type'))
|
if (function_exists('mime_content_type'))
|
||||||
{
|
{
|
||||||
$mime_type = mime_content_type($filename);
|
$mime_type = mime_content_type($filename);
|
||||||
|
|
||||||
if ( ! empty($mime_type))
|
if ( ! empty($mime_type))
|
||||||
{
|
{
|
||||||
if (true === $debug)
|
if (true === $debug)
|
||||||
{
|
{
|
||||||
return array( 'mime_type' => $mime_type, 'method' => 'mime_content_type' );
|
return array( 'mime_type' => $mime_type, 'method' => 'mime_content_type' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $mime_type;
|
return $mime_type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
global $mime_types;
|
global $mime_types;
|
||||||
$mime_types = array_flip($mime_types);
|
$mime_types = array_flip($mime_types);
|
||||||
|
|
||||||
$tmp_array = explode('.', $filename);
|
$tmp_array = explode('.', $filename);
|
||||||
$ext = strtolower(array_pop($tmp_array));
|
$ext = strtolower(array_pop($tmp_array));
|
||||||
|
|
||||||
if ( ! empty($mime_types[ $ext ]))
|
if ( ! empty($mime_types[ $ext ]))
|
||||||
{
|
{
|
||||||
if (true === $debug)
|
if (true === $debug)
|
||||||
{
|
{
|
||||||
return array( 'mime_type' => $mime_types[ $ext ], 'method' => 'from_array' );
|
return array( 'mime_type' => $mime_types[ $ext ], 'method' => 'from_array' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $mime_types[ $ext ];
|
return $mime_types[ $ext ];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true === $debug)
|
if (true === $debug)
|
||||||
{
|
{
|
||||||
return array( 'mime_type' => 'application/octet-stream', 'method' => 'last_resort' );
|
return array( 'mime_type' => 'application/octet-stream', 'method' => 'last_resort' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'application/octet-stream';
|
return 'application/octet-stream';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/********************
|
/********************
|
||||||
* The following code can be used to test the function.
|
* The following code can be used to test the function.
|
||||||
* First put a plain text file named "test.txt" and a
|
* First put a plain text file named "test.txt" and a
|
||||||
* JPEG image file named "image.jpg" in the same folder
|
* JPEG image file named "image.jpg" in the same folder
|
||||||
* as this file.
|
* as this file.
|
||||||
*
|
*
|
||||||
* Simply remove the "REMOVE ME TO TEST" lines below to have
|
* Simply remove the "REMOVE ME TO TEST" lines below to have
|
||||||
* the code run when this file runs.
|
* the code run when this file runs.
|
||||||
*
|
*
|
||||||
* Run the code with this command:
|
* Run the code with this command:
|
||||||
* php mime_type_lib.php
|
* php mime_type_lib.php
|
||||||
********************/
|
********************/
|
||||||
|
|
||||||
|
|
||||||
/* REMOVE ME TO TEST
|
/* REMOVE ME TO TEST
|
||||||
echo get_file_mime_type( 'test.txt' ) . "\n";
|
echo get_file_mime_type( 'test.txt' ) . "\n";
|
||||||
echo print_r( get_file_mime_type( 'image.jpg', true ), true ) . "\n";
|
echo print_r( get_file_mime_type( 'image.jpg', true ), true ) . "\n";
|
||||||
REMOVE ME TO TEST */
|
REMOVE ME TO TEST */
|
||||||
|
10
core/vendor/filemanager/index.php
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
header("Expires: Mon, 26 Jul 2019 05:00:00 GMT");
|
||||||
|
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||||
|
|
||||||
|
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||||
|
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||||
|
header("Pragma: no-cache");
|
||||||
|
|
||||||
|
header("Location: ../");
|
||||||
|
exit;
|
3
core/vendor/filemanager/js/include.js
vendored
1
core/vendor/filemanager/js/jquery.fileupload-angular.js
vendored
Executable file → Normal file
@ -315,6 +315,7 @@
|
|||||||
'fileuploadpaste',
|
'fileuploadpaste',
|
||||||
'fileuploaddrop',
|
'fileuploaddrop',
|
||||||
'fileuploaddragover',
|
'fileuploaddragover',
|
||||||
|
'fileuploadchunkbeforesend',
|
||||||
'fileuploadchunksend',
|
'fileuploadchunksend',
|
||||||
'fileuploadchunkdone',
|
'fileuploadchunkdone',
|
||||||
'fileuploadchunkfail',
|
'fileuploadchunkfail',
|
||||||
|
0
core/vendor/filemanager/js/jquery.fileupload-audio.js
vendored
Executable file → Normal file
0
core/vendor/filemanager/js/jquery.fileupload-image.js
vendored
Executable file → Normal file
0
core/vendor/filemanager/js/jquery.fileupload-jquery-ui.js
vendored
Executable file → Normal file
0
core/vendor/filemanager/js/jquery.fileupload-process.js
vendored
Executable file → Normal file
0
core/vendor/filemanager/js/jquery.fileupload-ui.js
vendored
Executable file → Normal file
0
core/vendor/filemanager/js/jquery.fileupload-validate.js
vendored
Executable file → Normal file
0
core/vendor/filemanager/js/jquery.fileupload-video.js
vendored
Executable file → Normal file
16
core/vendor/filemanager/js/jquery.fileupload.js
vendored
Executable file → Normal file
@ -261,6 +261,9 @@
|
|||||||
// Callback for dragover events of the dropZone(s):
|
// Callback for dragover events of the dropZone(s):
|
||||||
// dragover: function (e) {}, // .bind('fileuploaddragover', func);
|
// dragover: function (e) {}, // .bind('fileuploaddragover', func);
|
||||||
|
|
||||||
|
// Callback before the start of each chunk upload request (before form data initialization):
|
||||||
|
// chunkbeforesend: function (e, data) {}, // .bind('fileuploadchunkbeforesend', func);
|
||||||
|
|
||||||
// Callback for the start of each chunk upload request:
|
// Callback for the start of each chunk upload request:
|
||||||
// chunksend: function (e, data) {}, // .bind('fileuploadchunksend', func);
|
// chunksend: function (e, data) {}, // .bind('fileuploadchunksend', func);
|
||||||
|
|
||||||
@ -434,6 +437,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
_deinitProgressListener: function (options) {
|
||||||
|
var xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr();
|
||||||
|
if (xhr.upload) {
|
||||||
|
$(xhr.upload).unbind('progress');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
_isInstanceOf: function (type, obj) {
|
_isInstanceOf: function (type, obj) {
|
||||||
// Cross-frame instanceof check
|
// Cross-frame instanceof check
|
||||||
return Object.prototype.toString.call(obj) === '[object ' + type + ']';
|
return Object.prototype.toString.call(obj) === '[object ' + type + ']';
|
||||||
@ -766,6 +776,8 @@
|
|||||||
// Expose the chunk bytes position range:
|
// Expose the chunk bytes position range:
|
||||||
o.contentRange = 'bytes ' + ub + '-' +
|
o.contentRange = 'bytes ' + ub + '-' +
|
||||||
(ub + o.chunkSize - 1) + '/' + fs;
|
(ub + o.chunkSize - 1) + '/' + fs;
|
||||||
|
// Trigger chunkbeforesend to allow form data to be updated for this chunk
|
||||||
|
that._trigger('chunkbeforesend', null, o);
|
||||||
// Process the upload data (the blob and potential form data):
|
// Process the upload data (the blob and potential form data):
|
||||||
that._initXHRData(o);
|
that._initXHRData(o);
|
||||||
// Add progress listeners for this chunk upload:
|
// Add progress listeners for this chunk upload:
|
||||||
@ -812,6 +824,9 @@
|
|||||||
o.context,
|
o.context,
|
||||||
[jqXHR, textStatus, errorThrown]
|
[jqXHR, textStatus, errorThrown]
|
||||||
);
|
);
|
||||||
|
})
|
||||||
|
.always(function () {
|
||||||
|
that._deinitProgressListener(o);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
this._enhancePromise(promise);
|
this._enhancePromise(promise);
|
||||||
@ -913,6 +928,7 @@
|
|||||||
}).fail(function (jqXHR, textStatus, errorThrown) {
|
}).fail(function (jqXHR, textStatus, errorThrown) {
|
||||||
that._onFail(jqXHR, textStatus, errorThrown, options);
|
that._onFail(jqXHR, textStatus, errorThrown, options);
|
||||||
}).always(function (jqXHRorResult, textStatus, jqXHRorError) {
|
}).always(function (jqXHRorResult, textStatus, jqXHRorError) {
|
||||||
|
that._deinitProgressListener(options);
|
||||||
that._onAlways(
|
that._onAlways(
|
||||||
jqXHRorResult,
|
jqXHRorResult,
|
||||||
textStatus,
|
textStatus,
|
||||||
|
0
core/vendor/filemanager/js/jquery.iframe-transport.js
vendored
Executable file → Normal file
9158
core/vendor/filemanager/js/plugins.js
vendored
Executable file → Normal file
280
core/vendor/filemanager/lang/fr_FR.php
vendored
@ -2,144 +2,146 @@
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
|
||||||
'Select' => 'Sélectionner',
|
'Select' => 'Sélectionner',
|
||||||
'Deselect_All' => 'Deselect All',
|
'Deselect_All' => 'Deselect All',
|
||||||
'Select_All' => 'Select All',
|
'Select_All' => 'Select All',
|
||||||
'Erase' => 'Effacer',
|
'Erase' => 'Effacer',
|
||||||
'Open' => 'Ouvrir',
|
'Open' => 'Ouvrir',
|
||||||
'Confirm_del' => 'Êtes-vous sûr de vouloir effacer ce fichier ?',
|
'Confirm_del' => 'Êtes-vous sûr de vouloir effacer ce fichier ?',
|
||||||
'All' => 'Tous',
|
'All' => 'Tous',
|
||||||
'Files' => 'Fichiers',
|
'Files' => 'Fichiers',
|
||||||
'Images' => 'Images',
|
'Images' => 'Images',
|
||||||
'Archives' => 'Archives',
|
'Archives' => 'Archives',
|
||||||
'Error_Upload' => 'Votre fichier dépasse la taille maximum autorisée.',
|
'Error_Upload' => 'Votre fichier dépasse la taille maximum autorisée.',
|
||||||
'Error_extension' => 'Extension de fichier non autorisée.',
|
'Error_extension' => 'Extension de fichier non autorisée.',
|
||||||
'Upload_file' => 'Envoyer un fichier',
|
'Upload_file' => 'Envoyer un fichier',
|
||||||
'Filters' => 'Filtrer',
|
'Filters' => 'Filtrer',
|
||||||
'Videos' => 'Vidéos',
|
'Videos' => 'Vidéos',
|
||||||
'Music' => 'Musique',
|
'Music' => 'Musique',
|
||||||
'New_Folder' => 'Nouveau dossier',
|
'New_Folder' => 'Nouveau dossier',
|
||||||
'Folder_Created' => 'Dossier correctement créé',
|
'Folder_Created' => 'Dossier correctement créé',
|
||||||
'Existing_Folder' => 'Dossier existant',
|
'Existing_Folder' => 'Dossier existant',
|
||||||
'Confirm_Folder_del' => 'Êtes-vous sûr de vouloir supprimer le dossier ainsi que tous ses éléments ?',
|
'Confirm_Folder_del' => 'Êtes-vous sûr de vouloir supprimer le dossier ainsi que tous ses éléments ?',
|
||||||
'Return_Files_List' => 'Revenir à la liste des fichiers',
|
'Return_Files_List' => 'Revenir à la liste des fichiers',
|
||||||
'Preview' => 'Aperçu',
|
'Preview' => 'Aperçu',
|
||||||
'Download' => 'Télécharger',
|
'Download' => 'Télécharger',
|
||||||
'Insert_Folder_Name' => 'Insérer le nom du dossier :',
|
'Insert_Folder_Name' => 'Insérer le nom du dossier :',
|
||||||
'Root' => 'Racine',
|
'Root' => 'Racine',
|
||||||
'Rename' => 'Renommer',
|
'Rename' => 'Renommer',
|
||||||
'Back' => 'Retour',
|
'Back' => 'Retour',
|
||||||
'View' => 'Vue',
|
'View' => 'Vue',
|
||||||
'View_list' => 'Vue par liste',
|
'View_list' => 'Vue par liste',
|
||||||
'View_columns_list' => 'Vue par listes de colonne',
|
'View_columns_list' => 'Vue par listes de colonne',
|
||||||
'View_boxes' => 'Vue par icônes',
|
'View_boxes' => 'Vue par icônes',
|
||||||
'Toolbar' => 'Barre d\'outils',
|
'Toolbar' => 'Barre d\'outils',
|
||||||
'Actions' => 'Actions',
|
'Actions' => 'Actions',
|
||||||
'Rename_existing_file' => 'Ce fichier existe déjà',
|
'Rename_existing_file' => 'Ce fichier existe déjà',
|
||||||
'Rename_existing_folder' => 'Ce dossier existe déjà',
|
'Rename_existing_folder' => 'Ce dossier existe déjà',
|
||||||
'Empty_name' => 'Le nom est vide',
|
'Empty_name' => 'Le nom est vide',
|
||||||
'Text_filter' => 'Texte de filtrage',
|
'Text_filter' => 'Texte de filtrage',
|
||||||
'Swipe_help' => 'Glissez le nom du fichier/dossier pour afficher les options',
|
'Swipe_help' => 'Glissez le nom du fichier/dossier pour afficher les options',
|
||||||
'Upload_base' => 'Téléchargement classique',
|
'Upload_base' => 'Téléchargement classique',
|
||||||
'Upload_base_help' => 'Glisser-Déposer des fichiers (navigateurs récents) ou cliquer sur le bontons en haut pour ajouter des fichiers. Cliquer sur "Envoyer les fichiers". Lorsque le chargement est complet, cliquer sur "Revenir à la liste des fichiers".',
|
'Upload_base_help' => 'Glisser-Déposer des fichiers (navigateurs récents) ou cliquer sur le bontons en haut pour ajouter des fichiers. Cliquer sur "Envoyer les fichiers". Lorsque le chargement est complet, cliquer sur "Revenir à la liste des fichiers".',
|
||||||
'Upload_add_files' => 'Ajouter des fichiers',
|
'Upload_add_files' => 'Ajouter des fichiers',
|
||||||
'Upload_start' => 'Envoyer les fichiers',
|
'Upload_start' => 'Envoyer les fichiers',
|
||||||
'Upload_error_messages' =>array(
|
'Upload_error_messages' =>array(
|
||||||
1 => 'La taille du fichier dépasse la limite fixée par le paramètre upload_max_filesize dans php.ini',
|
1 => 'La taille du fichier dépasse la limite fixée par le paramètre upload_max_filesize dans php.ini',
|
||||||
2 => 'La taille du fichier dépasse la limite fixée par le paramètre MAX_FILE_SIZE du formulaire',
|
2 => 'La taille du fichier dépasse la limite fixée par le paramètre MAX_FILE_SIZE du formulaire',
|
||||||
3 => 'Le fichier n\'a pas été correctement téléchargé',
|
3 => 'Le fichier n\'a pas été correctement téléchargé',
|
||||||
4 => 'Aucun fichier n\'a pas été téléchargé',
|
4 => 'Aucun fichier n\'a pas été téléchargé',
|
||||||
6 => 'Il manque le répertoire temporaire',
|
6 => 'Il manque le répertoire temporaire',
|
||||||
7 => 'Impossible d\'écrire le fichier sur le disque',
|
7 => 'Impossible d\'écrire le fichier sur le disque',
|
||||||
8 => 'Une extension PHP a bloqué le téléchargement',
|
8 => 'Une extension PHP a bloqué le téléchargement',
|
||||||
'post_max_size' => 'La taille du fichier dépasse la limite fixée par le paramètre post_max_size dans php.ini',
|
'post_max_size' => 'La taille du fichier dépasse la limite fixée par le paramètre post_max_size dans php.ini',
|
||||||
'max_file_size' => 'La taille du fichier est trop importante',
|
'max_file_size' => 'La taille du fichier est trop importante',
|
||||||
'min_file_size' => 'La taille du fichier est trop faible',
|
'min_file_size' => 'La taille du fichier est trop faible',
|
||||||
'accept_file_types' => 'Ce type de fichier n\'est pas accepté',
|
'accept_file_types' => 'Ce type de fichier n\'est pas accepté',
|
||||||
'max_number_of_files' => 'Le nombre de fichiers à télécharger est trop important',
|
'max_number_of_files' => 'Le nombre de fichiers à télécharger est trop important',
|
||||||
'max_width' => 'La largeur de l\'image est supérieure à la limite maximum autorisée',
|
'max_width' => 'La largeur de l\'image est supérieure à la limite maximum autorisée',
|
||||||
'min_width' => 'La largeur de l\'image est inférieure à la limite minimum autorisée',
|
'min_width' => 'La largeur de l\'image est inférieure à la limite minimum autorisée',
|
||||||
'max_height' => 'La hauteur de l\'image est supérieure à la limite maximum autorisée',
|
'max_height' => 'La hauteur de l\'image est supérieure à la limite maximum autorisée',
|
||||||
'min_height' => 'La hauteur de l\'image est inférieure à la limite minimum autorisée',
|
'min_height' => 'La hauteur de l\'image est inférieure à la limite minimum autorisée',
|
||||||
'abort' => 'Téléchargement des fichiers annulé',
|
'abort' => 'Téléchargement des fichiers annulé',
|
||||||
'image_resize' => 'Impossible de redimensionner l\'image'
|
'image_resize' => 'Impossible de redimensionner l\'image'
|
||||||
),
|
),
|
||||||
'Upload_url' => 'Depuis une URL',
|
'Upload_url' => 'Depuis une URL',
|
||||||
'Type_dir' => 'dir',
|
'Type_dir' => 'dir',
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
'Dimension' => 'Dimension',
|
'Dimension' => 'Dimension',
|
||||||
'Size' => 'Taille',
|
'Size' => 'Taille',
|
||||||
'Date' => 'Date',
|
'Date' => 'Date',
|
||||||
'Filename' => 'Nom',
|
'Filename' => 'Nom',
|
||||||
'Operations' => 'Opérations',
|
'Operations' => 'Opérations',
|
||||||
'Date_type' => 'd/m/Y',
|
'Date_type' => 'd/m/Y',
|
||||||
'OK' => 'OK',
|
'OK' => 'OK',
|
||||||
'Cancel' => 'Annuler',
|
'Cancel' => 'Annuler',
|
||||||
'Sorting' => 'Trier',
|
'Sorting' => 'Trier',
|
||||||
'Show_url' => 'Afficher l\'URL',
|
'Show_url' => 'Afficher l\'URL',
|
||||||
'Extract' => 'Extraire ici',
|
'Extract' => 'Extraire ici',
|
||||||
'File_info' => 'Information',
|
'File_info' => 'Information',
|
||||||
'Edit_image' => 'Editer l\'image',
|
'Edit_image' => 'Editer l\'image',
|
||||||
'Duplicate' => 'Dupliquer',
|
'Duplicate' => 'Dupliquer',
|
||||||
'Folders' => 'Dossiers',
|
'Folders' => 'Dossiers',
|
||||||
'Copy' => 'Copier',
|
'Copy' => 'Copier',
|
||||||
'Cut' => 'Couper',
|
'Cut' => 'Couper',
|
||||||
'Paste' => 'Coller',
|
'Paste' => 'Coller',
|
||||||
'CB' => 'PP', // Presse-papiers
|
'CB' => 'PP', // Presse-papiers
|
||||||
'Paste_Here' => 'Coller dans ce dossier',
|
'Paste_Here' => 'Coller dans ce dossier',
|
||||||
'Paste_Confirm' => 'Êtes-vous sûr de vouloir coller dans ce répertoire ? Cette action remplacera les fichiers/dossiers déjà existants.',
|
'Paste_Confirm' => 'Êtes-vous sûr de vouloir coller dans ce répertoire ? Cette action remplacera les fichiers/dossiers déjà existants.',
|
||||||
'Paste_Failed' => 'Impossible de coller les fichier(s)',
|
'Paste_Failed' => 'Impossible de coller les fichier(s)',
|
||||||
'Clear_Clipboard' => 'Vider le presse-papiers',
|
'Clear_Clipboard' => 'Vider le presse-papiers',
|
||||||
'Clear_Clipboard_Confirm' => 'Êtes-vous sûr de vouloir vider le presse-papiers ?',
|
'Clear_Clipboard_Confirm' => 'Êtes-vous sûr de vouloir vider le presse-papiers ?',
|
||||||
'Files_ON_Clipboard' => 'Le presse-papiers contient des fichiers.',
|
'Files_ON_Clipboard' => 'Le presse-papiers contient des fichiers.',
|
||||||
'Copy_Cut_Size_Limit' => 'Les fichiers/dossiers sélectionnés sont trop gros pour %1$s. Limite: %2$d MB/opération', // %1$s = cut or copy, %2$d = max size
|
'Copy_Cut_Size_Limit' => 'Les fichiers/dossiers sélectionnés sont trop gros pour %1$s. Limite: %2$d MB/opération', // %1$s = cut or copy, %2$d = max size
|
||||||
'Copy_Cut_Count_Limit' => 'Vous avez sélectionné trop de fichiers/dossier pour %1$s. Limite: %2$d fichiers/opération', // %1$s = cut or copy, %2$d = max count
|
'Copy_Cut_Count_Limit' => 'Vous avez sélectionné trop de fichiers/dossier pour %1$s. Limite: %2$d fichiers/opération', // %1$s = cut or copy, %2$d = max count
|
||||||
'Copy_Cut_Not_Allowed' => 'Vous n\'êtes pas autorisé à %1$s des %2$s.', // %12$s = cut or copy, %2$s = files or folders
|
'Copy_Cut_Not_Allowed' => 'Vous n\'êtes pas autorisé à %1$s des %2$s.', // %12$s = cut or copy, %2$s = files or folders
|
||||||
'Aviary_No_Save' => 'Impossible d\'enregistrer l\'image',
|
'Image_Editor_No_Save' => 'Impossible d\'enregistrer l\'image',
|
||||||
'Zip_No_Extract' => 'Extraction impossible. Le fichier est peut-être corrompu.',
|
'Image_Editor_Exit' => "Sortie",
|
||||||
'Zip_Invalid' => 'Cette extension n\'est pas supportée. Extensions valides: zip, gz, tar.',
|
'Image_Editor_Save' => "Sauvegarder",
|
||||||
'Dir_No_Write' => 'Le répertoire que vous avez sélectionné n\'est pas accessible en écriture.',
|
'Zip_No_Extract' => 'Extraction impossible. Le fichier est peut-être corrompu.',
|
||||||
'Function_Disabled' => 'La fonction %s a été désactivée sur le serveur.', // %s = cut or copy
|
'Zip_Invalid' => 'Cette extension n\'est pas supportée. Extensions valides: zip, gz, tar.',
|
||||||
'File_Permission' => 'Permission du fichier',
|
'Dir_No_Write' => 'Le répertoire que vous avez sélectionné n\'est pas accessible en écriture.',
|
||||||
'File_Permission_Not_Allowed' => 'Le changement de permission %s n\'est pas autorisé.', // %s = files or folders
|
'Function_Disabled' => 'La fonction %s a été désactivée sur le serveur.', // %s = cut or copy
|
||||||
'File_Permission_Recursive' => 'Appliquez recursivement ?',
|
'File_Permission' => 'Permission du fichier',
|
||||||
'File_Permission_Wrong_Mode' => 'Les permissions saisies sont incorrectes.',
|
'File_Permission_Not_Allowed' => 'Le changement de permission %s n\'est pas autorisé.', // %s = files or folders
|
||||||
'User' => 'Utilisateur',
|
'File_Permission_Recursive' => 'Appliquez recursivement ?',
|
||||||
'Group' => 'Groupe',
|
'File_Permission_Wrong_Mode' => 'Les permissions saisies sont incorrectes.',
|
||||||
'Yes' => 'Oui',
|
'User' => 'Utilisateur',
|
||||||
'No' => 'Non',
|
'Group' => 'Groupe',
|
||||||
'Lang_Not_Found' => 'Le fichier de langue est introuvable.',
|
'Yes' => 'Oui',
|
||||||
'Lang_Change' => 'Changer la langue',
|
'No' => 'Non',
|
||||||
'File_Not_Found' => 'Le fichier est introuvable.',
|
'Lang_Not_Found' => 'Le fichier de langue est introuvable.',
|
||||||
'File_Open_Edit_Not_Allowed' => 'Vous ne disposez pas des autorisations sur le fichier %s.', // %s = open or edit
|
'Lang_Change' => 'Changer la langue',
|
||||||
'Edit' => 'Editer',
|
'File_Not_Found' => 'Le fichier est introuvable.',
|
||||||
'Edit_File' => 'Editer le contenu du fichier',
|
'File_Open_Edit_Not_Allowed' => 'Vous ne disposez pas des autorisations sur le fichier %s.', // %s = open or edit
|
||||||
'File_Save_OK' => 'Fichier enregistré avec succès.',
|
'Edit' => 'Editer',
|
||||||
'File_Save_Error' => 'Une erreur s\'est produite lors de l\'enregistrement du fichier.',
|
'Edit_File' => 'Editer le contenu du fichier',
|
||||||
'New_File' => 'Nouveau fichier',
|
'File_Save_OK' => 'Fichier enregistré avec succès.',
|
||||||
'No_Extension' => 'Vous devez ajouter une extension au fichier.',
|
'File_Save_Error' => 'Une erreur s\'est produite lors de l\'enregistrement du fichier.',
|
||||||
'Valid_Extensions' => 'Extensions valides: %s', // %s = txt,log etc.
|
'New_File' => 'Nouveau fichier',
|
||||||
'Upload_message' => 'Glissez les fichiers ici pour les ajouter',
|
'No_Extension' => 'Vous devez ajouter une extension au fichier.',
|
||||||
|
'Valid_Extensions' => 'Extensions valides: %s', // %s = txt,log etc.
|
||||||
|
'Upload_message' => 'Glissez les fichiers ici pour les ajouter',
|
||||||
|
|
||||||
'SERVER ERROR' => "ERREUR SERVEUR",
|
'SERVER ERROR' => "ERREUR SERVEUR",
|
||||||
'forbiden' => "Interdit",
|
'forbidden' => "Interdit",
|
||||||
'wrong path' => "Chemin invalide",
|
'wrong path' => "Chemin invalide",
|
||||||
'wrong name' => "Nom invalide",
|
'wrong name' => "Nom invalide",
|
||||||
'wrong extension' => "Extension invalide",
|
'wrong extension' => "Extension invalide",
|
||||||
'wrong option' => "Option invalide",
|
'wrong option' => "Option invalide",
|
||||||
'wrong data' => "Données invalides",
|
'wrong data' => "Données invalides",
|
||||||
'wrong action' => "Action invalide",
|
'wrong action' => "Action invalide",
|
||||||
'wrong sub-action' => "Sous-action invalide",
|
'wrong sub-action' => "Sous-action invalide",
|
||||||
'no action passed' => "Aucune action demandée",
|
'no action passed' => "Aucune action demandée",
|
||||||
'no path' => "Chemin manquant",
|
'no path' => "Chemin manquant",
|
||||||
'no file' => "Fichier manquant",
|
'no file' => "Fichier manquant",
|
||||||
'view type number missing' => "Type de vue manquant",
|
'view type number missing' => "Type de vue manquant",
|
||||||
'Not enough Memory' => "Mémoire insuffisante",
|
'Not enough Memory' => "Mémoire insuffisante",
|
||||||
'max_size_reached' => "Votre répertoire d'image a déjà atteind sa taille maximale de %d mo.", //%d = max overall size
|
'max_size_reached' => "Votre répertoire d'image a déjà atteind sa taille maximale de %d mo.", //%d = max overall size
|
||||||
'B' => "o",
|
'B' => "o",
|
||||||
'KB' => "Ko",
|
'KB' => "Ko",
|
||||||
'MB' => "Mo",
|
'MB' => "Mo",
|
||||||
'GB' => "Go",
|
'GB' => "Go",
|
||||||
'TB' => "To",
|
'TB' => "To",
|
||||||
'total size' => "Taille totale",
|
'total size' => "Taille totale",
|
||||||
);
|
);
|
||||||
|
62
core/vendor/filemanager/plugin.min.js
vendored
@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
tinymce.PluginManager.add('filemanager', function(editor) {
|
tinymce.PluginManager.add('filemanager', function(editor) {
|
||||||
|
|
||||||
editor.settings.file_browser_callback = filemanager;
|
editor.settings.file_picker_types = 'file image media';
|
||||||
|
editor.settings.file_picker_callback = filemanager;
|
||||||
|
|
||||||
function filemanager_onMessage(event){
|
function filemanager_onMessage(event){
|
||||||
if(editor.settings.external_filemanager_path.toLowerCase().indexOf(event.origin.toLowerCase()) === 0){
|
if(editor.settings.external_filemanager_path.toLowerCase().indexOf(event.origin.toLowerCase()) === 0){
|
||||||
@ -27,7 +28,7 @@ tinymce.PluginManager.add('filemanager', function(editor) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function filemanager (id, value, type, win) {
|
function filemanager(callback, value, meta) {
|
||||||
var width = window.innerWidth-30;
|
var width = window.innerWidth-30;
|
||||||
var height = window.innerHeight-60;
|
var height = window.innerHeight-60;
|
||||||
if(width > 1800) width=1800;
|
if(width > 1800) width=1800;
|
||||||
@ -39,8 +40,9 @@ tinymce.PluginManager.add('filemanager', function(editor) {
|
|||||||
|
|
||||||
// DEFAULT AS FILE
|
// DEFAULT AS FILE
|
||||||
urltype=2;
|
urltype=2;
|
||||||
if (type=='image') { urltype=1; }
|
if (meta.filetype === 'image' || meta.mediaType === 'image') { urltype=1; }
|
||||||
if (type=='media') { urltype=3; }
|
if (meta.filetype === 'media' || meta.mediaType === 'media') { urltype=3; }
|
||||||
|
|
||||||
var title="RESPONSIVE FileManager";
|
var title="RESPONSIVE FileManager";
|
||||||
if (typeof editor.settings.filemanager_title !== "undefined" && editor.settings.filemanager_title) {
|
if (typeof editor.settings.filemanager_title !== "undefined" && editor.settings.filemanager_title) {
|
||||||
title=editor.settings.filemanager_title;
|
title=editor.settings.filemanager_title;
|
||||||
@ -73,27 +75,37 @@ tinymce.PluginManager.add('filemanager', function(editor) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tinymce.activeEditor.windowManager.open({
|
window.addEventListener('message', function receiveMessage(event) {
|
||||||
title: title,
|
window.removeEventListener('message', receiveMessage, false);
|
||||||
file: editor.settings.external_filemanager_path+'dialog.php?type='+urltype+'&descending='+descending+sort_by+fldr+crossdomain+'&lang='+editor.settings.language+'&akey='+akey,
|
if (event.data.sender === 'responsivefilemanager') {
|
||||||
width: width,
|
callback(event.data.url);
|
||||||
height: height,
|
|
||||||
resizable: true,
|
|
||||||
maximizable: true,
|
|
||||||
inline: 1
|
|
||||||
}, {
|
|
||||||
setUrl: function (url) {
|
|
||||||
var fieldElm = win.document.getElementById(id);
|
|
||||||
fieldElm.value = editor.convertURL(url);
|
|
||||||
if ("createEvent" in document) {
|
|
||||||
var evt = document.createEvent("HTMLEvents");
|
|
||||||
evt.initEvent("change", false, true);
|
|
||||||
fieldElm.dispatchEvent(evt)
|
|
||||||
} else {
|
|
||||||
fieldElm.fireEvent("onchange")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
}, false);
|
||||||
};
|
|
||||||
|
var dialogUrl = editor.settings.external_filemanager_path+'dialog.php?type='+urltype+'&descending='+descending+sort_by+fldr+crossdomain+'&lang='+editor.settings.language+'&akey='+akey;
|
||||||
|
|
||||||
|
if (tinymce.majorVersion > 4) {
|
||||||
|
tinymce.activeEditor.windowManager.openUrl({
|
||||||
|
title: title,
|
||||||
|
url: dialogUrl,
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
resizable: true,
|
||||||
|
maximizable: true,
|
||||||
|
inline: 1,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
tinymce.activeEditor.windowManager.open({
|
||||||
|
title: title,
|
||||||
|
file: dialogUrl,
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
resizable: true,
|
||||||
|
maximizable: true,
|
||||||
|
inline: 1,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
235
core/vendor/filemanager/svg/icon-a.svg
vendored
Normal file
@ -0,0 +1,235 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs>
|
||||||
|
<circle id="a" cx="16" cy="16" r="16"/>
|
||||||
|
</defs><symbol id="icon-a-ic-apply" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#434343" d="M4 12.011l5 5L20.011 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-cancel" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#434343" d="M6 6l12 12M18 6L6 18"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-color-transparent-w" viewBox="0 0 32 32">
|
||||||
|
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g>
|
||||||
|
<use fill="#FFF" xlink:href="#a"/>
|
||||||
|
<circle cx="16" cy="16" r="15.5" stroke="#D5D5D5"/>
|
||||||
|
</g>
|
||||||
|
<path stroke="#FF4040" stroke-width="1.5" d="M27 5L5 27"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-crop" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#434343" d="M4 0h1v20a1 1 0 0 1-1-1V0zM20 17h-1V5h1v12zm0 2v5h-1v-5h1z"/>
|
||||||
|
<path fill="#434343" d="M5 19h19v1H5zM4.762 4v1H0V4h4.762zM7 4h12a1 1 0 0 1 1 1H7V4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-delete-all" viewBox="0 0 24 24">
|
||||||
|
<g fill="#434343" fill-rule="evenodd">
|
||||||
|
<path d="M5 23H3a1 1 0 0 1-1-1V6h1v16h2v1zm16-10h-1V6h1v7zM9 13H8v-3h1v3zm3 0h-1v-3h1v3zm3 0h-1v-3h1v3zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM11.286 21H8.714L8 23H7l1-2.8V20h.071L9.5 16h1l1.429 4H12v.2l1 2.8h-1l-.714-2zm-.357-1L10 17.4 9.071 20h1.858zM20 22h3v1h-4v-7h1v6zm-5 0h3v1h-4v-7h1v6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-delete" viewBox="0 0 24 24">
|
||||||
|
<g fill="#434343" fill-rule="evenodd">
|
||||||
|
<path d="M3 6v16h17V6h1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6h1zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM8 10h1v6H8v-6zm3 0h1v6h-1v-6zm3 0h1v6h-1v-6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-draw-free" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" d="M2.5 20.929C2.594 10.976 4.323 6 7.686 6c5.872 0 2.524 19 7.697 19s1.89-14.929 6.414-14.929 1.357 10.858 5.13 10.858c1.802 0 2.657-2.262 2.566-6.786"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-draw-line" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" d="M2 15.5h28"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-draw" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#434343" d="M2.5 21.5H5c.245 0 .48-.058.691-.168l.124-.065.14.01c.429.028.85-.127 1.16-.437L22.55 5.405a.5.5 0 0 0 0-.707l-3.246-3.245a.5.5 0 0 0-.707 0L3.162 16.888a1.495 1.495 0 0 0-.437 1.155l.01.14-.065.123c-.111.212-.17.448-.17.694v2.5z"/>
|
||||||
|
<path fill="#434343" d="M16.414 3.707l3.89 3.89-.708.706-3.889-3.889z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-filter" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#434343" d="M12 7v1H2V7h10zm6 0h4v1h-4V7zM12 16v1h10v-1H12zm-6 0H2v1h4v-1z"/>
|
||||||
|
<path fill="#434343" d="M8.5 20a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM15.5 11a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-flip-reset" viewBox="0 0 31 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M31 0H0v32h31z"/>
|
||||||
|
<path fill="#434343" d="M28 16a8 8 0 0 1-8 8H3v-1h1v-7H3a8 8 0 0 1 8-8h17v1h-1v7h1zM11 9a7 7 0 0 0-7 7v7h16a7 7 0 0 0 7-7V9H11z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M24 5l3.5 3.5L24 12M7 20l-3.5 3.5L7 27"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-flip-x" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M32 32H0V0h32z"/>
|
||||||
|
<path fill="#434343" d="M17 32h-1V0h1zM27.167 11l.5 3h-1.03l-.546-3h1.076zm-.5-3h-1.122L25 5h-5V4h5.153a1 1 0 0 1 .986.836L26.667 8zm1.5 9l.5 3h-.94l-.545-3h.985zm1 6l.639 3.836A1 1 0 0 1 28.819 28H26v-1h3l-.726-4h.894zM23 28h-3v-1h3v1zM13 4v1H7L3 27h10v1H3.18a1 1 0 0 1-.986-1.164l3.666-22A1 1 0 0 1 6.847 4H13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-flip-y" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0v32h32V0z"/>
|
||||||
|
<path fill="#434343" d="M0 16v1h32v-1zM11 27.167l3 .5v-1.03l-3-.546v1.076zm-3-.5v-1.122L5 25v-5H4v5.153a1 1 0 0 0 .836.986L8 26.667zm9 1.5l3 .5v-.94l-3-.545v.985zm6 1l3.836.639A1 1 0 0 0 28 28.82V26h-1v3l-4-.727v.894zM28 23v-3h-1v3h1zM4 13h1V7l22-4v10h1V3.18a1 1 0 0 0-1.164-.986l-22 3.667A1 1 0 0 0 4 6.847V13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-flip" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#434343" d="M11 0h1v24h-1zM19 21v-1h2v-2h1v2a1 1 0 0 1-1 1h-2zm-2 0h-3v-1h3v1zm5-5h-1v-3h1v3zm0-5h-1V8h1v3zm0-5h-1V4h-2V3h2a1 1 0 0 1 1 1v2zm-5-3v1h-3V3h3zM9 3v1H2v16h7v1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-arrow-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M21.793 18.5H2.5v-5h18.935l-7.6-8h5.872l10.5 10.5-10.5 10.5h-5.914l8-8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-arrow-3" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M25.288 16.42L14.208 27.5H6.792l11.291-11.291L6.826 4.5h7.381l11.661 11.661-.58.258z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-arrow" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" d="M2.5 11.5v9h18v5.293L30.293 16 20.5 6.207V11.5h-18z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-bubble" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M22.207 24.5L16.5 30.207V24.5H8A6.5 6.5 0 0 1 1.5 18V9A6.5 6.5 0 0 1 8 2.5h16A6.5 6.5 0 0 1 30.5 9v9a6.5 6.5 0 0 1-6.5 6.5h-1.793z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-heart" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill-rule="nonzero" stroke="#434343" d="M15.996 30.675l1.981-1.79c7.898-7.177 10.365-9.718 12.135-13.012.922-1.716 1.377-3.37 1.377-5.076 0-4.65-3.647-8.297-8.297-8.297-2.33 0-4.86 1.527-6.817 3.824l-.38.447-.381-.447C13.658 4.027 11.126 2.5 8.797 2.5 4.147 2.5.5 6.147.5 10.797c0 1.714.46 3.375 1.389 5.098 1.775 3.288 4.26 5.843 12.123 12.974l1.984 1.806z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M17.314 18.867l1.951-2.53 4 5.184h-17l6.5-8.84 4.549 6.186z"/>
|
||||||
|
<path fill="#434343" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01z"/>
|
||||||
|
<path fill="#434343" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#434343" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-location" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g stroke="#434343">
|
||||||
|
<path d="M16 31.28C23.675 23.302 27.5 17.181 27.5 13c0-6.351-5.149-11.5-11.5-11.5S4.5 6.649 4.5 13c0 4.181 3.825 10.302 11.5 18.28z"/>
|
||||||
|
<circle cx="16" cy="13" r="4.5"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-polygon" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" d="M.576 16L8.29 29.5h15.42L31.424 16 23.71 2.5H8.29L.576 16z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-star-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" d="M19.446 31.592l2.265-3.272 3.946.25.636-3.94 3.665-1.505-1.12-3.832 2.655-2.962-2.656-2.962 1.12-3.832-3.664-1.505-.636-3.941-3.946.25-2.265-3.271L16 3.024 12.554 1.07 10.289 4.34l-3.946-.25-.636 3.941-3.665 1.505 1.12 3.832L.508 16.33l2.656 2.962-1.12 3.832 3.664 1.504.636 3.942 3.946-.25 2.265 3.27L16 29.638l3.446 1.955z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon-star" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" d="M25.292 29.878l-1.775-10.346 7.517-7.327-10.388-1.51L16 1.282l-4.646 9.413-10.388 1.51 7.517 7.327-1.775 10.346L16 24.993l9.292 4.885z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-icon" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M11.923 19.136L5.424 22l.715-7.065-4.731-5.296 6.94-1.503L11.923 2l3.574 6.136 6.94 1.503-4.731 5.296L18.42 22z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-mask-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01zM15 23a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1a5 5 0 1 0 0-10 5 5 0 0 0 0 10z"/>
|
||||||
|
<path fill="#434343" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#434343" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-mask" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<circle cx="12" cy="12" r="4.5" stroke="#434343"/>
|
||||||
|
<path fill="#434343" d="M2 1h20a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 1v20h20V2H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-redo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#434343" d="M21 6H9a6 6 0 1 0 0 12h12v1H9A7 7 0 0 1 9 5h12v1z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M19 3l2.5 2.5L19 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-reset" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#434343" d="M2 13v-1a7 7 0 0 1 7-7h13v1h-1v5h1v1a7 7 0 0 1-7 7H2v-1h1v-5H2zm7-7a6 6 0 0 0-6 6v6h12a6 6 0 0 0 6-6V6H9z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M19 3l2.5 2.5L19 8M5 16l-2.5 2.5L5 21"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-rotate-clockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#434343" d="M29 17h-.924c0 6.627-5.373 12-12 12-6.628 0-12-5.373-12-12C4.076 10.398 9.407 5.041 16 5V4C8.82 4 3 9.82 3 17s5.82 13 13 13 13-5.82 13-13z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M16 1.5l4 3-4 3"/>
|
||||||
|
<path fill="#434343" fill-rule="nonzero" d="M16 4h4v1h-4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-rotate-counterclockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#434343" d="M3 17h.924c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.602-5.331-11.96-11.924-12V4c7.18 0 13 5.82 13 13s-5.82 13-13 13S3 24.18 3 17z"/>
|
||||||
|
<path fill="#434343" fill-rule="nonzero" d="M12 4h4v1h-4z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M16 1.5l-4 3 4 3"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-rotate" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#434343" d="M8.349 22.254a10.002 10.002 0 0 1-2.778-1.719l.65-.76a9.002 9.002 0 0 0 2.495 1.548l-.367.931zm2.873.704l.078-.997a9 9 0 1 0-.557-17.852l-.14-.99A10.076 10.076 0 0 1 12.145 3c5.523 0 10 4.477 10 10s-4.477 10-10 10c-.312 0-.62-.014-.924-.042zm-7.556-4.655a9.942 9.942 0 0 1-1.253-2.996l.973-.234a8.948 8.948 0 0 0 1.124 2.693l-.844.537zm-1.502-5.91A9.949 9.949 0 0 1 2.88 9.23l.925.382a8.954 8.954 0 0 0-.644 2.844l-.998-.062zm2.21-5.686c.687-.848 1.51-1.58 2.436-2.166l.523.852a9.048 9.048 0 0 0-2.188 1.95l-.771-.636z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M13 1l-2.5 2.5L13 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-shape-circle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<circle cx="16" cy="16" r="14.5" stroke="#434343"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-shape-rectangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<rect width="27" height="27" x="2.5" y="2.5" stroke="#434343" rx="1"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-shape-triangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M16 2.5l15.5 27H.5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-shape" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#434343" d="M14.706 8H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-4h1v4h12V9h-5.706l-.588-1z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="round" stroke-linejoin="round" d="M8.5 1.5l7.5 13H1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text-align-center" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M2 5h28v1H2zM8 12h16v1H8zM2 19h28v1H2zM8 26h16v1H8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text-align-left" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M2 5h28v1H2zM2 12h16v1H2zM2 19h28v1H2zM2 26h16v1H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text-align-right" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M2 5h28v1H2zM14 12h16v1H14zM2 19h28v1H2zM14 26h16v1H14z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text-bold" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M7 2h2v2H7zM7 28h2v2H7z"/>
|
||||||
|
<path stroke="#434343" stroke-width="2" d="M9 3v12h9a6 6 0 1 0 0-12H9zM9 15v14h10a7 7 0 0 0 0-14H9z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text-italic" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M15 2h5v1h-5zM11 29h5v1h-5zM17 3h1l-4 26h-1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text-underline" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#434343" d="M8 2v14a8 8 0 1 0 16 0V2h1v14a9 9 0 0 1-18 0V2h1zM3 29h26v1H3z"/>
|
||||||
|
<path fill="#434343" d="M5 2h5v1H5zM22 2h5v1h-5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-text" viewBox="0 0 24 24">
|
||||||
|
<g fill="#434343" fill-rule="evenodd">
|
||||||
|
<path d="M4 3h15a1 1 0 0 1 1 1H3a1 1 0 0 1 1-1zM3 4h1v1H3zM19 4h1v1h-1z"/>
|
||||||
|
<path d="M11 3h1v18h-1z"/>
|
||||||
|
<path d="M10 20h3v1h-3z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-ic-undo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M24 0H0v24h24z" opacity=".5"/>
|
||||||
|
<path fill="#434343" d="M3 6h12a6 6 0 1 1 0 12H3v1h12a7 7 0 0 0 0-14H3v1z"/>
|
||||||
|
<path stroke="#434343" stroke-linecap="square" d="M5 3L2.5 5.5 5 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-a-img-bi" viewBox="0 0 257 26">
|
||||||
|
<g fill="#FDBA3B">
|
||||||
|
<path d="M26 5a8.001 8.001 0 0 0 0 16 8.001 8.001 0 0 0 0-16M51.893 19.812L43.676 5.396A.78.78 0 0 0 43 5a.78.78 0 0 0-.677.396l-8.218 14.418a.787.787 0 0 0 0 .792c.14.244.396.394.676.394h16.436c.28 0 .539-.15.678-.396a.796.796 0 0 0-.002-.792M15.767 5.231A.79.79 0 0 0 15.21 5H.791A.791.791 0 0 0 0 5.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M85.767 5.231A.79.79 0 0 0 85.21 5H70.791a.791.791 0 0 0-.791.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M65.942 9.948l2.17-3.76a.78.78 0 0 0 0-.792.791.791 0 0 0-.684-.396h-8.54A5.889 5.889 0 0 0 53 10.86a5.887 5.887 0 0 0 3.07 5.17l-2.184 3.782A.792.792 0 0 0 54.571 21h8.54a5.89 5.89 0 0 0 2.831-11.052M105.7 21h2.3V5h-2.3zM91 5h2.4v10.286c0 1.893 1.612 3.429 3.6 3.429s3.6-1.536 3.6-3.429V5h2.4v10.286c0 3.156-2.686 5.714-6 5.714-3.313 0-6-2.558-6-5.714V5zM252.148 21.128h-2.377V9.659h2.27v1.64c.69-1.299 1.792-1.938 3.304-1.938.497 0 .95.065 1.382.192l-.215 2.277a3.734 3.734 0 0 0-1.275-.213c-1.814 0-3.089 1.234-3.089 3.638v5.873zm-7.095-5.744a3.734 3.734 0 0 0-1.101-2.703c-.714-.766-1.6-1.149-2.658-1.149-1.058 0-1.944.383-2.679 1.149a3.803 3.803 0 0 0-1.08 2.703c0 1.063.368 1.978 1.08 2.722.735.746 1.62 1.128 2.68 1.128 1.058 0 1.943-.382 2.657-1.128.734-.744 1.101-1.659 1.101-2.722zm-9.916 0c0-1.682.583-3.086 1.729-4.256 1.166-1.17 2.635-1.767 4.428-1.767 1.793 0 3.262.597 4.407 1.767 1.167 1.17 1.75 2.574 1.75 4.256 0 1.7-.583 3.127-1.75 4.297-1.145 1.17-2.614 1.745-4.407 1.745-1.793 0-3.262-.575-4.428-1.745-1.146-1.17-1.729-2.596-1.729-4.297zm-1.5 3.233l.821 1.83c-.864.638-1.944.958-3.22.958-2.526 0-3.822-1.554-3.822-4.383V11.66h-2.01v-2h2.031V5.595h2.355v4.063h4.018v2h-4.018v5.405c0 1.469.605 2.191 1.793 2.191.626 0 1.318-.212 2.052-.638zm-12.43 2.51h2.375V9.66h-2.376v11.469zm1.23-12.977c-.929 0-1.642-.682-1.642-1.596 0-.873.713-1.554 1.643-1.554.885 0 1.576.681 1.576 1.554 0 .914-.69 1.596-1.576 1.596zm-6.49 7.234c0-1.086-.346-1.98-1.037-2.724-.692-.745-1.599-1.128-2.7-1.128-1.102 0-2.01.383-2.7 1.128-.692.744-1.037 1.638-1.037 2.724 0 1.084.345 2.02 1.036 2.766.691.744 1.6 1.105 2.7 1.105 1.102 0 2.01-.361 2.7-1.105.692-.746 1.038-1.682 1.038-2.766zm-.173-4.129V5h2.397v16.128h-2.354v-1.596c-1.015 1.255-2.333 1.873-3.91 1.873-1.663 0-3.068-.575-4.169-1.724-1.102-1.17-1.663-2.596-1.663-4.297 0-1.682.561-3.107 1.663-4.256 1.101-1.17 2.485-1.745 4.148-1.745 1.534 0 2.83.617 3.888 1.872zm-11.48 9.873h-10.218V5.405h10.195v2.318h-7.711V12h7.15v2.32h-7.15v4.489h7.733v2.319zm-23.891-9.724c-1.793 0-3.132 1.192-3.478 2.979h6.783c-.194-1.808-1.555-2.979-3.305-2.979zm5.703 3.766c0 .32-.021.703-.086 1.128h-9.095c.346 1.787 1.62 3 3.867 3 1.318 0 2.916-.49 3.953-1.234l.994 1.724c-1.189.872-3.067 1.595-5.033 1.595-4.364 0-6.243-3-6.243-6.021 0-1.724.54-3.15 1.642-4.277 1.101-1.127 2.548-1.702 4.298-1.702 1.664 0 3.046.511 4.105 1.553 1.058 1.043 1.598 2.447 1.598 4.234zm-19.949 3.894c1.08 0 1.966-.362 2.68-1.085.712-.724 1.058-1.617 1.058-2.703 0-1.084-.346-2-1.059-2.701-.713-.702-1.599-1.064-2.679-1.064-1.058 0-1.944.362-2.656 1.085-.714.702-1.059 1.596-1.059 2.68 0 1.086.345 2 1.059 2.724.712.702 1.598 1.064 2.656 1.064zm3.673-7.936V9.66h2.29v10.299c0 1.85-.584 3.32-1.728 4.404-1.146 1.085-2.68 1.638-4.58 1.638-1.945 0-3.672-.553-5.206-1.638l1.037-1.808c1.296.915 2.679 1.36 4.126 1.36 2.484 0 3.996-1.51 3.996-3.637v-.83c-1.015 1.127-2.311 1.702-3.91 1.702-1.684 0-3.089-.554-4.19-1.68-1.102-1.128-1.642-2.532-1.642-4.214 0-1.68.561-3.085 1.706-4.191 1.145-1.128 2.571-1.681 4.234-1.681 1.534 0 2.83.575 3.867 1.745zm-18.07 8.127c1.102 0 1.988-.382 2.7-1.128.714-.744 1.06-1.659 1.06-2.743 0-1.065-.346-1.98-1.06-2.724-.712-.745-1.598-1.128-2.7-1.128-1.101 0-2.008.383-2.7 1.128-.691.744-1.036 1.66-1.036 2.745 0 1.084.345 2 1.037 2.745.691.744 1.598 1.105 2.7 1.105zm3.652-8V9.66h2.29v11.469h-2.29v-1.575c-1.059 1.234-2.399 1.852-3.976 1.852-1.663 0-3.067-.575-4.168-1.745-1.102-1.17-1.642-2.617-1.642-4.34 0-1.724.54-3.128 1.642-4.256 1.1-1.128 2.505-1.681 4.168-1.681 1.577 0 2.917.617 3.976 1.872zM138.79 9.34c1.404 0 2.527.448 3.37 1.34.863.873 1.295 2.086 1.295 3.596v6.852h-2.376V14.66c0-2.021-1.036-3.128-2.657-3.128-1.727 0-2.915 1.255-2.915 3.192v6.404h-2.377v-6.426c0-1.978-1.037-3.17-2.679-3.17-1.728 0-2.937 1.277-2.937 3.234v6.362h-2.377V9.659h2.333v1.66c.692-1.212 1.988-1.979 3.522-1.979 1.533.021 2.958.767 3.586 2.107.798-1.277 2.419-2.107 4.212-2.107zm-19.517 11.788h2.484V5.405h-2.484v15.723z"/>
|
||||||
|
</g>
|
||||||
|
</symbol></svg>
|
After Width: | Height: | Size: 20 KiB |
224
core/vendor/filemanager/svg/icon-b.svg
vendored
Normal file
@ -0,0 +1,224 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs/><symbol id="icon-b-ic-apply" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#555555" d="M4 12.011l5 5L20.011 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-cancel" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#555555" d="M6 6l12 12M18 6L6 18"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-crop" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#555555" d="M4 0h1v20a1 1 0 0 1-1-1V0zM20 17h-1V5h1v12zm0 2v5h-1v-5h1z"/>
|
||||||
|
<path fill="#555555" d="M5 19h19v1H5zM4.762 4v1H0V4h4.762zM7 4h12a1 1 0 0 1 1 1H7V4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-delete-all" viewBox="0 0 24 24">
|
||||||
|
<g fill="#555555" fill-rule="evenodd">
|
||||||
|
<path d="M5 23H3a1 1 0 0 1-1-1V6h1v16h2v1zm16-10h-1V6h1v7zM9 13H8v-3h1v3zm3 0h-1v-3h1v3zm3 0h-1v-3h1v3zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM11.286 21H8.714L8 23H7l1-2.8V20h.071L9.5 16h1l1.429 4H12v.2l1 2.8h-1l-.714-2zm-.357-1L10 17.4 9.071 20h1.858zM20 22h3v1h-4v-7h1v6zm-5 0h3v1h-4v-7h1v6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-delete" viewBox="0 0 24 24">
|
||||||
|
<g fill="#555555" fill-rule="evenodd">
|
||||||
|
<path d="M3 6v16h17V6h1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6h1zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM8 10h1v6H8v-6zm3 0h1v6h-1v-6zm3 0h1v6h-1v-6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-draw-free" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" d="M2.5 20.929C2.594 10.976 4.323 6 7.686 6c5.872 0 2.524 19 7.697 19s1.89-14.929 6.414-14.929 1.357 10.858 5.13 10.858c1.802 0 2.657-2.262 2.566-6.786"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-draw-line" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" d="M2 15.5h28"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-draw" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#555555" d="M2.5 21.5H5c.245 0 .48-.058.691-.168l.124-.065.14.01c.429.028.85-.127 1.16-.437L22.55 5.405a.5.5 0 0 0 0-.707l-3.246-3.245a.5.5 0 0 0-.707 0L3.162 16.888a1.495 1.495 0 0 0-.437 1.155l.01.14-.065.123c-.111.212-.17.448-.17.694v2.5z"/>
|
||||||
|
<path fill="#555555" d="M16.414 3.707l3.89 3.89-.708.706-3.889-3.889z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-filter" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#555555" d="M12 7v1H2V7h10zm6 0h4v1h-4V7zM12 16v1h10v-1H12zm-6 0H2v1h4v-1z"/>
|
||||||
|
<path fill="#555555" d="M8.5 20a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM15.5 11a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-flip-reset" viewBox="0 0 31 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M31 0H0v32h31z"/>
|
||||||
|
<path fill="#555555" d="M28 16a8 8 0 0 1-8 8H3v-1h1v-7H3a8 8 0 0 1 8-8h17v1h-1v7h1zM11 9a7 7 0 0 0-7 7v7h16a7 7 0 0 0 7-7V9H11z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M24 5l3.5 3.5L24 12M7 20l-3.5 3.5L7 27"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-flip-x" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M32 32H0V0h32z"/>
|
||||||
|
<path fill="#555555" d="M17 32h-1V0h1zM27.167 11l.5 3h-1.03l-.546-3h1.076zm-.5-3h-1.122L25 5h-5V4h5.153a1 1 0 0 1 .986.836L26.667 8zm1.5 9l.5 3h-.94l-.545-3h.985zm1 6l.639 3.836A1 1 0 0 1 28.819 28H26v-1h3l-.726-4h.894zM23 28h-3v-1h3v1zM13 4v1H7L3 27h10v1H3.18a1 1 0 0 1-.986-1.164l3.666-22A1 1 0 0 1 6.847 4H13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-flip-y" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0v32h32V0z"/>
|
||||||
|
<path fill="#555555" d="M0 16v1h32v-1zM11 27.167l3 .5v-1.03l-3-.546v1.076zm-3-.5v-1.122L5 25v-5H4v5.153a1 1 0 0 0 .836.986L8 26.667zm9 1.5l3 .5v-.94l-3-.545v.985zm6 1l3.836.639A1 1 0 0 0 28 28.82V26h-1v3l-4-.727v.894zM28 23v-3h-1v3h1zM4 13h1V7l22-4v10h1V3.18a1 1 0 0 0-1.164-.986l-22 3.667A1 1 0 0 0 4 6.847V13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-flip" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#555555" d="M11 0h1v24h-1zM19 21v-1h2v-2h1v2a1 1 0 0 1-1 1h-2zm-2 0h-3v-1h3v1zm5-5h-1v-3h1v3zm0-5h-1V8h1v3zm0-5h-1V4h-2V3h2a1 1 0 0 1 1 1v2zm-5-3v1h-3V3h3zM9 3v1H2v16h7v1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-arrow-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M21.793 18.5H2.5v-5h18.935l-7.6-8h5.872l10.5 10.5-10.5 10.5h-5.914l8-8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-arrow-3" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M25.288 16.42L14.208 27.5H6.792l11.291-11.291L6.826 4.5h7.381l11.661 11.661-.58.258z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-arrow" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" d="M2.5 11.5v9h18v5.293L30.293 16 20.5 6.207V11.5h-18z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-bubble" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M22.207 24.5L16.5 30.207V24.5H8A6.5 6.5 0 0 1 1.5 18V9A6.5 6.5 0 0 1 8 2.5h16A6.5 6.5 0 0 1 30.5 9v9a6.5 6.5 0 0 1-6.5 6.5h-1.793z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-heart" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill-rule="nonzero" stroke="#555555" d="M15.996 30.675l1.981-1.79c7.898-7.177 10.365-9.718 12.135-13.012.922-1.716 1.377-3.37 1.377-5.076 0-4.65-3.647-8.297-8.297-8.297-2.33 0-4.86 1.527-6.817 3.824l-.38.447-.381-.447C13.658 4.027 11.126 2.5 8.797 2.5 4.147 2.5.5 6.147.5 10.797c0 1.714.46 3.375 1.389 5.098 1.775 3.288 4.26 5.843 12.123 12.974l1.984 1.806z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M17.314 18.867l1.951-2.53 4 5.184h-17l6.5-8.84 4.549 6.186z"/>
|
||||||
|
<path fill="#555555" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01z"/>
|
||||||
|
<path fill="#555555" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#555555" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-location" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g stroke="#555555">
|
||||||
|
<path d="M16 31.28C23.675 23.302 27.5 17.181 27.5 13c0-6.351-5.149-11.5-11.5-11.5S4.5 6.649 4.5 13c0 4.181 3.825 10.302 11.5 18.28z"/>
|
||||||
|
<circle cx="16" cy="13" r="4.5"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-polygon" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" d="M.576 16L8.29 29.5h15.42L31.424 16 23.71 2.5H8.29L.576 16z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-star-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" d="M19.446 31.592l2.265-3.272 3.946.25.636-3.94 3.665-1.505-1.12-3.832 2.655-2.962-2.656-2.962 1.12-3.832-3.664-1.505-.636-3.941-3.946.25-2.265-3.271L16 3.024 12.554 1.07 10.289 4.34l-3.946-.25-.636 3.941-3.665 1.505 1.12 3.832L.508 16.33l2.656 2.962-1.12 3.832 3.664 1.504.636 3.942 3.946-.25 2.265 3.27L16 29.638l3.446 1.955z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon-star" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" d="M25.292 29.878l-1.775-10.346 7.517-7.327-10.388-1.51L16 1.282l-4.646 9.413-10.388 1.51 7.517 7.327-1.775 10.346L16 24.993l9.292 4.885z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-icon" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M11.923 19.136L5.424 22l.715-7.065-4.731-5.296 6.94-1.503L11.923 2l3.574 6.136 6.94 1.503-4.731 5.296L18.42 22z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-mask-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01zM15 23a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1a5 5 0 1 0 0-10 5 5 0 0 0 0 10z"/>
|
||||||
|
<path fill="#555555" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#555555" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-mask" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<circle cx="12" cy="12" r="4.5" stroke="#555555"/>
|
||||||
|
<path fill="#555555" d="M2 1h20a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 1v20h20V2H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-redo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#555555" d="M21 6H9a6 6 0 1 0 0 12h12v1H9A7 7 0 0 1 9 5h12v1z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M19 3l2.5 2.5L19 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-reset" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#555555" d="M2 13v-1a7 7 0 0 1 7-7h13v1h-1v5h1v1a7 7 0 0 1-7 7H2v-1h1v-5H2zm7-7a6 6 0 0 0-6 6v6h12a6 6 0 0 0 6-6V6H9z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M19 3l2.5 2.5L19 8M5 16l-2.5 2.5L5 21"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-rotate-clockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#555555" d="M29 17h-.924c0 6.627-5.373 12-12 12-6.628 0-12-5.373-12-12C4.076 10.398 9.407 5.041 16 5V4C8.82 4 3 9.82 3 17s5.82 13 13 13 13-5.82 13-13z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M16 1.5l4 3-4 3"/>
|
||||||
|
<path fill="#555555" fill-rule="nonzero" d="M16 4h4v1h-4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-rotate-counterclockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#555555" d="M3 17h.924c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.602-5.331-11.96-11.924-12V4c7.18 0 13 5.82 13 13s-5.82 13-13 13S3 24.18 3 17z"/>
|
||||||
|
<path fill="#555555" fill-rule="nonzero" d="M12 4h4v1h-4z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M16 1.5l-4 3 4 3"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-rotate" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#555555" d="M8.349 22.254a10.002 10.002 0 0 1-2.778-1.719l.65-.76a9.002 9.002 0 0 0 2.495 1.548l-.367.931zm2.873.704l.078-.997a9 9 0 1 0-.557-17.852l-.14-.99A10.076 10.076 0 0 1 12.145 3c5.523 0 10 4.477 10 10s-4.477 10-10 10c-.312 0-.62-.014-.924-.042zm-7.556-4.655a9.942 9.942 0 0 1-1.253-2.996l.973-.234a8.948 8.948 0 0 0 1.124 2.693l-.844.537zm-1.502-5.91A9.949 9.949 0 0 1 2.88 9.23l.925.382a8.954 8.954 0 0 0-.644 2.844l-.998-.062zm2.21-5.686c.687-.848 1.51-1.58 2.436-2.166l.523.852a9.048 9.048 0 0 0-2.188 1.95l-.771-.636z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M13 1l-2.5 2.5L13 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-shape-circle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<circle cx="16" cy="16" r="14.5" stroke="#555555"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-shape-rectangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<rect width="27" height="27" x="2.5" y="2.5" stroke="#555555" rx="1"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-shape-triangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M16 2.5l15.5 27H.5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-shape" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#555555" d="M14.706 8H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-4h1v4h12V9h-5.706l-.588-1z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="round" stroke-linejoin="round" d="M8.5 1.5l7.5 13H1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text-align-center" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M2 5h28v1H2zM8 12h16v1H8zM2 19h28v1H2zM8 26h16v1H8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text-align-left" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M2 5h28v1H2zM2 12h16v1H2zM2 19h28v1H2zM2 26h16v1H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text-align-right" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M2 5h28v1H2zM14 12h16v1H14zM2 19h28v1H2zM14 26h16v1H14z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text-bold" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M7 2h2v2H7zM7 28h2v2H7z"/>
|
||||||
|
<path stroke="#555555" stroke-width="2" d="M9 3v12h9a6 6 0 1 0 0-12H9zM9 15v14h10a7 7 0 0 0 0-14H9z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text-italic" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M15 2h5v1h-5zM11 29h5v1h-5zM17 3h1l-4 26h-1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text-underline" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#555555" d="M8 2v14a8 8 0 1 0 16 0V2h1v14a9 9 0 0 1-18 0V2h1zM3 29h26v1H3z"/>
|
||||||
|
<path fill="#555555" d="M5 2h5v1H5zM22 2h5v1h-5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-text" viewBox="0 0 24 24">
|
||||||
|
<g fill="#555555" fill-rule="evenodd">
|
||||||
|
<path d="M4 3h15a1 1 0 0 1 1 1H3a1 1 0 0 1 1-1zM3 4h1v1H3zM19 4h1v1h-1z"/>
|
||||||
|
<path d="M11 3h1v18h-1z"/>
|
||||||
|
<path d="M10 20h3v1h-3z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-ic-undo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M24 0H0v24h24z" opacity=".5"/>
|
||||||
|
<path fill="#555555" d="M3 6h12a6 6 0 1 1 0 12H3v1h12a7 7 0 0 0 0-14H3v1z"/>
|
||||||
|
<path stroke="#555555" stroke-linecap="square" d="M5 3L2.5 5.5 5 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-b-img-bi" viewBox="0 0 257 26">
|
||||||
|
<g fill="#FDBA3B">
|
||||||
|
<path d="M26 5a8.001 8.001 0 0 0 0 16 8.001 8.001 0 0 0 0-16M51.893 19.812L43.676 5.396A.78.78 0 0 0 43 5a.78.78 0 0 0-.677.396l-8.218 14.418a.787.787 0 0 0 0 .792c.14.244.396.394.676.394h16.436c.28 0 .539-.15.678-.396a.796.796 0 0 0-.002-.792M15.767 5.231A.79.79 0 0 0 15.21 5H.791A.791.791 0 0 0 0 5.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M85.767 5.231A.79.79 0 0 0 85.21 5H70.791a.791.791 0 0 0-.791.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M65.942 9.948l2.17-3.76a.78.78 0 0 0 0-.792.791.791 0 0 0-.684-.396h-8.54A5.889 5.889 0 0 0 53 10.86a5.887 5.887 0 0 0 3.07 5.17l-2.184 3.782A.792.792 0 0 0 54.571 21h8.54a5.89 5.89 0 0 0 2.831-11.052M105.7 21h2.3V5h-2.3zM91 5h2.4v10.286c0 1.893 1.612 3.429 3.6 3.429s3.6-1.536 3.6-3.429V5h2.4v10.286c0 3.156-2.686 5.714-6 5.714-3.313 0-6-2.558-6-5.714V5zM252.148 21.128h-2.377V9.659h2.27v1.64c.69-1.299 1.792-1.938 3.304-1.938.497 0 .95.065 1.382.192l-.215 2.277a3.734 3.734 0 0 0-1.275-.213c-1.814 0-3.089 1.234-3.089 3.638v5.873zm-7.095-5.744a3.734 3.734 0 0 0-1.101-2.703c-.714-.766-1.6-1.149-2.658-1.149-1.058 0-1.944.383-2.679 1.149a3.803 3.803 0 0 0-1.08 2.703c0 1.063.368 1.978 1.08 2.722.735.746 1.62 1.128 2.68 1.128 1.058 0 1.943-.382 2.657-1.128.734-.744 1.101-1.659 1.101-2.722zm-9.916 0c0-1.682.583-3.086 1.729-4.256 1.166-1.17 2.635-1.767 4.428-1.767 1.793 0 3.262.597 4.407 1.767 1.167 1.17 1.75 2.574 1.75 4.256 0 1.7-.583 3.127-1.75 4.297-1.145 1.17-2.614 1.745-4.407 1.745-1.793 0-3.262-.575-4.428-1.745-1.146-1.17-1.729-2.596-1.729-4.297zm-1.5 3.233l.821 1.83c-.864.638-1.944.958-3.22.958-2.526 0-3.822-1.554-3.822-4.383V11.66h-2.01v-2h2.031V5.595h2.355v4.063h4.018v2h-4.018v5.405c0 1.469.605 2.191 1.793 2.191.626 0 1.318-.212 2.052-.638zm-12.43 2.51h2.375V9.66h-2.376v11.469zm1.23-12.977c-.929 0-1.642-.682-1.642-1.596 0-.873.713-1.554 1.643-1.554.885 0 1.576.681 1.576 1.554 0 .914-.69 1.596-1.576 1.596zm-6.49 7.234c0-1.086-.346-1.98-1.037-2.724-.692-.745-1.599-1.128-2.7-1.128-1.102 0-2.01.383-2.7 1.128-.692.744-1.037 1.638-1.037 2.724 0 1.084.345 2.02 1.036 2.766.691.744 1.6 1.105 2.7 1.105 1.102 0 2.01-.361 2.7-1.105.692-.746 1.038-1.682 1.038-2.766zm-.173-4.129V5h2.397v16.128h-2.354v-1.596c-1.015 1.255-2.333 1.873-3.91 1.873-1.663 0-3.068-.575-4.169-1.724-1.102-1.17-1.663-2.596-1.663-4.297 0-1.682.561-3.107 1.663-4.256 1.101-1.17 2.485-1.745 4.148-1.745 1.534 0 2.83.617 3.888 1.872zm-11.48 9.873h-10.218V5.405h10.195v2.318h-7.711V12h7.15v2.32h-7.15v4.489h7.733v2.319zm-23.891-9.724c-1.793 0-3.132 1.192-3.478 2.979h6.783c-.194-1.808-1.555-2.979-3.305-2.979zm5.703 3.766c0 .32-.021.703-.086 1.128h-9.095c.346 1.787 1.62 3 3.867 3 1.318 0 2.916-.49 3.953-1.234l.994 1.724c-1.189.872-3.067 1.595-5.033 1.595-4.364 0-6.243-3-6.243-6.021 0-1.724.54-3.15 1.642-4.277 1.101-1.127 2.548-1.702 4.298-1.702 1.664 0 3.046.511 4.105 1.553 1.058 1.043 1.598 2.447 1.598 4.234zm-19.949 3.894c1.08 0 1.966-.362 2.68-1.085.712-.724 1.058-1.617 1.058-2.703 0-1.084-.346-2-1.059-2.701-.713-.702-1.599-1.064-2.679-1.064-1.058 0-1.944.362-2.656 1.085-.714.702-1.059 1.596-1.059 2.68 0 1.086.345 2 1.059 2.724.712.702 1.598 1.064 2.656 1.064zm3.673-7.936V9.66h2.29v10.299c0 1.85-.584 3.32-1.728 4.404-1.146 1.085-2.68 1.638-4.58 1.638-1.945 0-3.672-.553-5.206-1.638l1.037-1.808c1.296.915 2.679 1.36 4.126 1.36 2.484 0 3.996-1.51 3.996-3.637v-.83c-1.015 1.127-2.311 1.702-3.91 1.702-1.684 0-3.089-.554-4.19-1.68-1.102-1.128-1.642-2.532-1.642-4.214 0-1.68.561-3.085 1.706-4.191 1.145-1.128 2.571-1.681 4.234-1.681 1.534 0 2.83.575 3.867 1.745zm-18.07 8.127c1.102 0 1.988-.382 2.7-1.128.714-.744 1.06-1.659 1.06-2.743 0-1.065-.346-1.98-1.06-2.724-.712-.745-1.598-1.128-2.7-1.128-1.101 0-2.008.383-2.7 1.128-.691.744-1.036 1.66-1.036 2.745 0 1.084.345 2 1.037 2.745.691.744 1.598 1.105 2.7 1.105zm3.652-8V9.66h2.29v11.469h-2.29v-1.575c-1.059 1.234-2.399 1.852-3.976 1.852-1.663 0-3.067-.575-4.168-1.745-1.102-1.17-1.642-2.617-1.642-4.34 0-1.724.54-3.128 1.642-4.256 1.1-1.128 2.505-1.681 4.168-1.681 1.577 0 2.917.617 3.976 1.872zM138.79 9.34c1.404 0 2.527.448 3.37 1.34.863.873 1.295 2.086 1.295 3.596v6.852h-2.376V14.66c0-2.021-1.036-3.128-2.657-3.128-1.727 0-2.915 1.255-2.915 3.192v6.404h-2.377v-6.426c0-1.978-1.037-3.17-2.679-3.17-1.728 0-2.937 1.277-2.937 3.234v6.362h-2.377V9.659h2.333v1.66c.692-1.212 1.988-1.979 3.522-1.979 1.533.021 2.958.767 3.586 2.107.798-1.277 2.419-2.107 4.212-2.107zm-19.517 11.788h2.484V5.405h-2.484v15.723z"/>
|
||||||
|
</g>
|
||||||
|
</symbol></svg>
|
After Width: | Height: | Size: 19 KiB |
224
core/vendor/filemanager/svg/icon-c.svg
vendored
Normal file
@ -0,0 +1,224 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs/><symbol id="icon-c-ic-apply" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#e9e9e9" d="M4 12.011l5 5L20.011 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-cancel" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#e9e9e9" d="M6 6l12 12M18 6L6 18"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-crop" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M4 0h1v20a1 1 0 0 1-1-1V0zM20 17h-1V5h1v12zm0 2v5h-1v-5h1z"/>
|
||||||
|
<path fill="#e9e9e9" d="M5 19h19v1H5zM4.762 4v1H0V4h4.762zM7 4h12a1 1 0 0 1 1 1H7V4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-delete-all" viewBox="0 0 24 24">
|
||||||
|
<g fill="#e9e9e9" fill-rule="evenodd">
|
||||||
|
<path d="M5 23H3a1 1 0 0 1-1-1V6h1v16h2v1zm16-10h-1V6h1v7zM9 13H8v-3h1v3zm3 0h-1v-3h1v3zm3 0h-1v-3h1v3zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM11.286 21H8.714L8 23H7l1-2.8V20h.071L9.5 16h1l1.429 4H12v.2l1 2.8h-1l-.714-2zm-.357-1L10 17.4 9.071 20h1.858zM20 22h3v1h-4v-7h1v6zm-5 0h3v1h-4v-7h1v6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-delete" viewBox="0 0 24 24">
|
||||||
|
<g fill="#e9e9e9" fill-rule="evenodd">
|
||||||
|
<path d="M3 6v16h17V6h1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6h1zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM8 10h1v6H8v-6zm3 0h1v6h-1v-6zm3 0h1v6h-1v-6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-draw-free" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" d="M2.5 20.929C2.594 10.976 4.323 6 7.686 6c5.872 0 2.524 19 7.697 19s1.89-14.929 6.414-14.929 1.357 10.858 5.13 10.858c1.802 0 2.657-2.262 2.566-6.786"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-draw-line" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" d="M2 15.5h28"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-draw" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#e9e9e9" d="M2.5 21.5H5c.245 0 .48-.058.691-.168l.124-.065.14.01c.429.028.85-.127 1.16-.437L22.55 5.405a.5.5 0 0 0 0-.707l-3.246-3.245a.5.5 0 0 0-.707 0L3.162 16.888a1.495 1.495 0 0 0-.437 1.155l.01.14-.065.123c-.111.212-.17.448-.17.694v2.5z"/>
|
||||||
|
<path fill="#e9e9e9" d="M16.414 3.707l3.89 3.89-.708.706-3.889-3.889z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-filter" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M12 7v1H2V7h10zm6 0h4v1h-4V7zM12 16v1h10v-1H12zm-6 0H2v1h4v-1z"/>
|
||||||
|
<path fill="#e9e9e9" d="M8.5 20a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM15.5 11a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-flip-reset" viewBox="0 0 31 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M31 0H0v32h31z"/>
|
||||||
|
<path fill="#e9e9e9" d="M28 16a8 8 0 0 1-8 8H3v-1h1v-7H3a8 8 0 0 1 8-8h17v1h-1v7h1zM11 9a7 7 0 0 0-7 7v7h16a7 7 0 0 0 7-7V9H11z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M24 5l3.5 3.5L24 12M7 20l-3.5 3.5L7 27"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-flip-x" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M32 32H0V0h32z"/>
|
||||||
|
<path fill="#e9e9e9" d="M17 32h-1V0h1zM27.167 11l.5 3h-1.03l-.546-3h1.076zm-.5-3h-1.122L25 5h-5V4h5.153a1 1 0 0 1 .986.836L26.667 8zm1.5 9l.5 3h-.94l-.545-3h.985zm1 6l.639 3.836A1 1 0 0 1 28.819 28H26v-1h3l-.726-4h.894zM23 28h-3v-1h3v1zM13 4v1H7L3 27h10v1H3.18a1 1 0 0 1-.986-1.164l3.666-22A1 1 0 0 1 6.847 4H13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-flip-y" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0v32h32V0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M0 16v1h32v-1zM11 27.167l3 .5v-1.03l-3-.546v1.076zm-3-.5v-1.122L5 25v-5H4v5.153a1 1 0 0 0 .836.986L8 26.667zm9 1.5l3 .5v-.94l-3-.545v.985zm6 1l3.836.639A1 1 0 0 0 28 28.82V26h-1v3l-4-.727v.894zM28 23v-3h-1v3h1zM4 13h1V7l22-4v10h1V3.18a1 1 0 0 0-1.164-.986l-22 3.667A1 1 0 0 0 4 6.847V13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-flip" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M11 0h1v24h-1zM19 21v-1h2v-2h1v2a1 1 0 0 1-1 1h-2zm-2 0h-3v-1h3v1zm5-5h-1v-3h1v3zm0-5h-1V8h1v3zm0-5h-1V4h-2V3h2a1 1 0 0 1 1 1v2zm-5-3v1h-3V3h3zM9 3v1H2v16h7v1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-arrow-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M21.793 18.5H2.5v-5h18.935l-7.6-8h5.872l10.5 10.5-10.5 10.5h-5.914l8-8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-arrow-3" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M25.288 16.42L14.208 27.5H6.792l11.291-11.291L6.826 4.5h7.381l11.661 11.661-.58.258z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-arrow" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" d="M2.5 11.5v9h18v5.293L30.293 16 20.5 6.207V11.5h-18z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-bubble" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M22.207 24.5L16.5 30.207V24.5H8A6.5 6.5 0 0 1 1.5 18V9A6.5 6.5 0 0 1 8 2.5h16A6.5 6.5 0 0 1 30.5 9v9a6.5 6.5 0 0 1-6.5 6.5h-1.793z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-heart" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill-rule="nonzero" stroke="#e9e9e9" d="M15.996 30.675l1.981-1.79c7.898-7.177 10.365-9.718 12.135-13.012.922-1.716 1.377-3.37 1.377-5.076 0-4.65-3.647-8.297-8.297-8.297-2.33 0-4.86 1.527-6.817 3.824l-.38.447-.381-.447C13.658 4.027 11.126 2.5 8.797 2.5 4.147 2.5.5 6.147.5 10.797c0 1.714.46 3.375 1.389 5.098 1.775 3.288 4.26 5.843 12.123 12.974l1.984 1.806z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M17.314 18.867l1.951-2.53 4 5.184h-17l6.5-8.84 4.549 6.186z"/>
|
||||||
|
<path fill="#e9e9e9" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01z"/>
|
||||||
|
<path fill="#e9e9e9" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#e9e9e9" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-location" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g stroke="#e9e9e9">
|
||||||
|
<path d="M16 31.28C23.675 23.302 27.5 17.181 27.5 13c0-6.351-5.149-11.5-11.5-11.5S4.5 6.649 4.5 13c0 4.181 3.825 10.302 11.5 18.28z"/>
|
||||||
|
<circle cx="16" cy="13" r="4.5"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-polygon" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" d="M.576 16L8.29 29.5h15.42L31.424 16 23.71 2.5H8.29L.576 16z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-star-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" d="M19.446 31.592l2.265-3.272 3.946.25.636-3.94 3.665-1.505-1.12-3.832 2.655-2.962-2.656-2.962 1.12-3.832-3.664-1.505-.636-3.941-3.946.25-2.265-3.271L16 3.024 12.554 1.07 10.289 4.34l-3.946-.25-.636 3.941-3.665 1.505 1.12 3.832L.508 16.33l2.656 2.962-1.12 3.832 3.664 1.504.636 3.942 3.946-.25 2.265 3.27L16 29.638l3.446 1.955z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon-star" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" d="M25.292 29.878l-1.775-10.346 7.517-7.327-10.388-1.51L16 1.282l-4.646 9.413-10.388 1.51 7.517 7.327-1.775 10.346L16 24.993l9.292 4.885z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-icon" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M11.923 19.136L5.424 22l.715-7.065-4.731-5.296 6.94-1.503L11.923 2l3.574 6.136 6.94 1.503-4.731 5.296L18.42 22z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-mask-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01zM15 23a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1a5 5 0 1 0 0-10 5 5 0 0 0 0 10z"/>
|
||||||
|
<path fill="#e9e9e9" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#e9e9e9" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-mask" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<circle cx="12" cy="12" r="4.5" stroke="#e9e9e9"/>
|
||||||
|
<path fill="#e9e9e9" d="M2 1h20a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 1v20h20V2H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-redo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#e9e9e9" d="M21 6H9a6 6 0 1 0 0 12h12v1H9A7 7 0 0 1 9 5h12v1z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M19 3l2.5 2.5L19 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-reset" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#e9e9e9" d="M2 13v-1a7 7 0 0 1 7-7h13v1h-1v5h1v1a7 7 0 0 1-7 7H2v-1h1v-5H2zm7-7a6 6 0 0 0-6 6v6h12a6 6 0 0 0 6-6V6H9z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M19 3l2.5 2.5L19 8M5 16l-2.5 2.5L5 21"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-rotate-clockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#e9e9e9" d="M29 17h-.924c0 6.627-5.373 12-12 12-6.628 0-12-5.373-12-12C4.076 10.398 9.407 5.041 16 5V4C8.82 4 3 9.82 3 17s5.82 13 13 13 13-5.82 13-13z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M16 1.5l4 3-4 3"/>
|
||||||
|
<path fill="#e9e9e9" fill-rule="nonzero" d="M16 4h4v1h-4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-rotate-counterclockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#e9e9e9" d="M3 17h.924c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.602-5.331-11.96-11.924-12V4c7.18 0 13 5.82 13 13s-5.82 13-13 13S3 24.18 3 17z"/>
|
||||||
|
<path fill="#e9e9e9" fill-rule="nonzero" d="M12 4h4v1h-4z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M16 1.5l-4 3 4 3"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-rotate" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M8.349 22.254a10.002 10.002 0 0 1-2.778-1.719l.65-.76a9.002 9.002 0 0 0 2.495 1.548l-.367.931zm2.873.704l.078-.997a9 9 0 1 0-.557-17.852l-.14-.99A10.076 10.076 0 0 1 12.145 3c5.523 0 10 4.477 10 10s-4.477 10-10 10c-.312 0-.62-.014-.924-.042zm-7.556-4.655a9.942 9.942 0 0 1-1.253-2.996l.973-.234a8.948 8.948 0 0 0 1.124 2.693l-.844.537zm-1.502-5.91A9.949 9.949 0 0 1 2.88 9.23l.925.382a8.954 8.954 0 0 0-.644 2.844l-.998-.062zm2.21-5.686c.687-.848 1.51-1.58 2.436-2.166l.523.852a9.048 9.048 0 0 0-2.188 1.95l-.771-.636z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M13 1l-2.5 2.5L13 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-shape-circle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<circle cx="16" cy="16" r="14.5" stroke="#e9e9e9"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-shape-rectangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<rect width="27" height="27" x="2.5" y="2.5" stroke="#e9e9e9" rx="1"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-shape-triangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M16 2.5l15.5 27H.5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-shape" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#e9e9e9" d="M14.706 8H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-4h1v4h12V9h-5.706l-.588-1z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="round" stroke-linejoin="round" d="M8.5 1.5l7.5 13H1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text-align-center" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M2 5h28v1H2zM8 12h16v1H8zM2 19h28v1H2zM8 26h16v1H8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text-align-left" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M2 5h28v1H2zM2 12h16v1H2zM2 19h28v1H2zM2 26h16v1H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text-align-right" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M2 5h28v1H2zM14 12h16v1H14zM2 19h28v1H2zM14 26h16v1H14z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text-bold" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M7 2h2v2H7zM7 28h2v2H7z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-width="2" d="M9 3v12h9a6 6 0 1 0 0-12H9zM9 15v14h10a7 7 0 0 0 0-14H9z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text-italic" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M15 2h5v1h-5zM11 29h5v1h-5zM17 3h1l-4 26h-1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text-underline" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#e9e9e9" d="M8 2v14a8 8 0 1 0 16 0V2h1v14a9 9 0 0 1-18 0V2h1zM3 29h26v1H3z"/>
|
||||||
|
<path fill="#e9e9e9" d="M5 2h5v1H5zM22 2h5v1h-5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-text" viewBox="0 0 24 24">
|
||||||
|
<g fill="#e9e9e9" fill-rule="evenodd">
|
||||||
|
<path d="M4 3h15a1 1 0 0 1 1 1H3a1 1 0 0 1 1-1zM3 4h1v1H3zM19 4h1v1h-1z"/>
|
||||||
|
<path d="M11 3h1v18h-1z"/>
|
||||||
|
<path d="M10 20h3v1h-3z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-ic-undo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M24 0H0v24h24z" opacity=".5"/>
|
||||||
|
<path fill="#e9e9e9" d="M3 6h12a6 6 0 1 1 0 12H3v1h12a7 7 0 0 0 0-14H3v1z"/>
|
||||||
|
<path stroke="#e9e9e9" stroke-linecap="square" d="M5 3L2.5 5.5 5 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-c-img-bi" viewBox="0 0 257 26">
|
||||||
|
<g fill="#FDBA3B">
|
||||||
|
<path d="M26 5a8.001 8.001 0 0 0 0 16 8.001 8.001 0 0 0 0-16M51.893 19.812L43.676 5.396A.78.78 0 0 0 43 5a.78.78 0 0 0-.677.396l-8.218 14.418a.787.787 0 0 0 0 .792c.14.244.396.394.676.394h16.436c.28 0 .539-.15.678-.396a.796.796 0 0 0-.002-.792M15.767 5.231A.79.79 0 0 0 15.21 5H.791A.791.791 0 0 0 0 5.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M85.767 5.231A.79.79 0 0 0 85.21 5H70.791a.791.791 0 0 0-.791.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M65.942 9.948l2.17-3.76a.78.78 0 0 0 0-.792.791.791 0 0 0-.684-.396h-8.54A5.889 5.889 0 0 0 53 10.86a5.887 5.887 0 0 0 3.07 5.17l-2.184 3.782A.792.792 0 0 0 54.571 21h8.54a5.89 5.89 0 0 0 2.831-11.052M105.7 21h2.3V5h-2.3zM91 5h2.4v10.286c0 1.893 1.612 3.429 3.6 3.429s3.6-1.536 3.6-3.429V5h2.4v10.286c0 3.156-2.686 5.714-6 5.714-3.313 0-6-2.558-6-5.714V5zM252.148 21.128h-2.377V9.659h2.27v1.64c.69-1.299 1.792-1.938 3.304-1.938.497 0 .95.065 1.382.192l-.215 2.277a3.734 3.734 0 0 0-1.275-.213c-1.814 0-3.089 1.234-3.089 3.638v5.873zm-7.095-5.744a3.734 3.734 0 0 0-1.101-2.703c-.714-.766-1.6-1.149-2.658-1.149-1.058 0-1.944.383-2.679 1.149a3.803 3.803 0 0 0-1.08 2.703c0 1.063.368 1.978 1.08 2.722.735.746 1.62 1.128 2.68 1.128 1.058 0 1.943-.382 2.657-1.128.734-.744 1.101-1.659 1.101-2.722zm-9.916 0c0-1.682.583-3.086 1.729-4.256 1.166-1.17 2.635-1.767 4.428-1.767 1.793 0 3.262.597 4.407 1.767 1.167 1.17 1.75 2.574 1.75 4.256 0 1.7-.583 3.127-1.75 4.297-1.145 1.17-2.614 1.745-4.407 1.745-1.793 0-3.262-.575-4.428-1.745-1.146-1.17-1.729-2.596-1.729-4.297zm-1.5 3.233l.821 1.83c-.864.638-1.944.958-3.22.958-2.526 0-3.822-1.554-3.822-4.383V11.66h-2.01v-2h2.031V5.595h2.355v4.063h4.018v2h-4.018v5.405c0 1.469.605 2.191 1.793 2.191.626 0 1.318-.212 2.052-.638zm-12.43 2.51h2.375V9.66h-2.376v11.469zm1.23-12.977c-.929 0-1.642-.682-1.642-1.596 0-.873.713-1.554 1.643-1.554.885 0 1.576.681 1.576 1.554 0 .914-.69 1.596-1.576 1.596zm-6.49 7.234c0-1.086-.346-1.98-1.037-2.724-.692-.745-1.599-1.128-2.7-1.128-1.102 0-2.01.383-2.7 1.128-.692.744-1.037 1.638-1.037 2.724 0 1.084.345 2.02 1.036 2.766.691.744 1.6 1.105 2.7 1.105 1.102 0 2.01-.361 2.7-1.105.692-.746 1.038-1.682 1.038-2.766zm-.173-4.129V5h2.397v16.128h-2.354v-1.596c-1.015 1.255-2.333 1.873-3.91 1.873-1.663 0-3.068-.575-4.169-1.724-1.102-1.17-1.663-2.596-1.663-4.297 0-1.682.561-3.107 1.663-4.256 1.101-1.17 2.485-1.745 4.148-1.745 1.534 0 2.83.617 3.888 1.872zm-11.48 9.873h-10.218V5.405h10.195v2.318h-7.711V12h7.15v2.32h-7.15v4.489h7.733v2.319zm-23.891-9.724c-1.793 0-3.132 1.192-3.478 2.979h6.783c-.194-1.808-1.555-2.979-3.305-2.979zm5.703 3.766c0 .32-.021.703-.086 1.128h-9.095c.346 1.787 1.62 3 3.867 3 1.318 0 2.916-.49 3.953-1.234l.994 1.724c-1.189.872-3.067 1.595-5.033 1.595-4.364 0-6.243-3-6.243-6.021 0-1.724.54-3.15 1.642-4.277 1.101-1.127 2.548-1.702 4.298-1.702 1.664 0 3.046.511 4.105 1.553 1.058 1.043 1.598 2.447 1.598 4.234zm-19.949 3.894c1.08 0 1.966-.362 2.68-1.085.712-.724 1.058-1.617 1.058-2.703 0-1.084-.346-2-1.059-2.701-.713-.702-1.599-1.064-2.679-1.064-1.058 0-1.944.362-2.656 1.085-.714.702-1.059 1.596-1.059 2.68 0 1.086.345 2 1.059 2.724.712.702 1.598 1.064 2.656 1.064zm3.673-7.936V9.66h2.29v10.299c0 1.85-.584 3.32-1.728 4.404-1.146 1.085-2.68 1.638-4.58 1.638-1.945 0-3.672-.553-5.206-1.638l1.037-1.808c1.296.915 2.679 1.36 4.126 1.36 2.484 0 3.996-1.51 3.996-3.637v-.83c-1.015 1.127-2.311 1.702-3.91 1.702-1.684 0-3.089-.554-4.19-1.68-1.102-1.128-1.642-2.532-1.642-4.214 0-1.68.561-3.085 1.706-4.191 1.145-1.128 2.571-1.681 4.234-1.681 1.534 0 2.83.575 3.867 1.745zm-18.07 8.127c1.102 0 1.988-.382 2.7-1.128.714-.744 1.06-1.659 1.06-2.743 0-1.065-.346-1.98-1.06-2.724-.712-.745-1.598-1.128-2.7-1.128-1.101 0-2.008.383-2.7 1.128-.691.744-1.036 1.66-1.036 2.745 0 1.084.345 2 1.037 2.745.691.744 1.598 1.105 2.7 1.105zm3.652-8V9.66h2.29v11.469h-2.29v-1.575c-1.059 1.234-2.399 1.852-3.976 1.852-1.663 0-3.067-.575-4.168-1.745-1.102-1.17-1.642-2.617-1.642-4.34 0-1.724.54-3.128 1.642-4.256 1.1-1.128 2.505-1.681 4.168-1.681 1.577 0 2.917.617 3.976 1.872zM138.79 9.34c1.404 0 2.527.448 3.37 1.34.863.873 1.295 2.086 1.295 3.596v6.852h-2.376V14.66c0-2.021-1.036-3.128-2.657-3.128-1.727 0-2.915 1.255-2.915 3.192v6.404h-2.377v-6.426c0-1.978-1.037-3.17-2.679-3.17-1.728 0-2.937 1.277-2.937 3.234v6.362h-2.377V9.659h2.333v1.66c.692-1.212 1.988-1.979 3.522-1.979 1.533.021 2.958.767 3.586 2.107.798-1.277 2.419-2.107 4.212-2.107zm-19.517 11.788h2.484V5.405h-2.484v15.723z"/>
|
||||||
|
</g>
|
||||||
|
</symbol></svg>
|
After Width: | Height: | Size: 19 KiB |
224
core/vendor/filemanager/svg/icon-d.svg
vendored
Normal file
@ -0,0 +1,224 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs/><symbol id="icon-d-ic-apply" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#8a8a8a" d="M4 12.011l5 5L20.011 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-cancel" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path stroke="#8a8a8a" d="M6 6l12 12M18 6L6 18"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-crop" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M4 0h1v20a1 1 0 0 1-1-1V0zM20 17h-1V5h1v12zm0 2v5h-1v-5h1z"/>
|
||||||
|
<path fill="#8a8a8a" d="M5 19h19v1H5zM4.762 4v1H0V4h4.762zM7 4h12a1 1 0 0 1 1 1H7V4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-delete-all" viewBox="0 0 24 24">
|
||||||
|
<g fill="#8a8a8a" fill-rule="evenodd">
|
||||||
|
<path d="M5 23H3a1 1 0 0 1-1-1V6h1v16h2v1zm16-10h-1V6h1v7zM9 13H8v-3h1v3zm3 0h-1v-3h1v3zm3 0h-1v-3h1v3zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM11.286 21H8.714L8 23H7l1-2.8V20h.071L9.5 16h1l1.429 4H12v.2l1 2.8h-1l-.714-2zm-.357-1L10 17.4 9.071 20h1.858zM20 22h3v1h-4v-7h1v6zm-5 0h3v1h-4v-7h1v6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-delete" viewBox="0 0 24 24">
|
||||||
|
<g fill="#8a8a8a" fill-rule="evenodd">
|
||||||
|
<path d="M3 6v16h17V6h1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6h1zM14.794 3.794L13 2h-3L8.206 3.794A.963.963 0 0 1 8 2.5l.703-1.055A1 1 0 0 1 9.535 1h3.93a1 1 0 0 1 .832.445L15 2.5a.965.965 0 0 1-.206 1.294zM14.197 4H8.803h5.394z"/>
|
||||||
|
<path d="M0 3h23v1H0zM8 10h1v6H8v-6zm3 0h1v6h-1v-6zm3 0h1v6h-1v-6z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-draw-free" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" d="M2.5 20.929C2.594 10.976 4.323 6 7.686 6c5.872 0 2.524 19 7.697 19s1.89-14.929 6.414-14.929 1.357 10.858 5.13 10.858c1.802 0 2.657-2.262 2.566-6.786"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-draw-line" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" d="M2 15.5h28"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-draw" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#8a8a8a" d="M2.5 21.5H5c.245 0 .48-.058.691-.168l.124-.065.14.01c.429.028.85-.127 1.16-.437L22.55 5.405a.5.5 0 0 0 0-.707l-3.246-3.245a.5.5 0 0 0-.707 0L3.162 16.888a1.495 1.495 0 0 0-.437 1.155l.01.14-.065.123c-.111.212-.17.448-.17.694v2.5z"/>
|
||||||
|
<path fill="#8a8a8a" d="M16.414 3.707l3.89 3.89-.708.706-3.889-3.889z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-filter" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M12 7v1H2V7h10zm6 0h4v1h-4V7zM12 16v1h10v-1H12zm-6 0H2v1h4v-1z"/>
|
||||||
|
<path fill="#8a8a8a" d="M8.5 20a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM15.5 11a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm0-1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-flip-reset" viewBox="0 0 31 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M31 0H0v32h31z"/>
|
||||||
|
<path fill="#8a8a8a" d="M28 16a8 8 0 0 1-8 8H3v-1h1v-7H3a8 8 0 0 1 8-8h17v1h-1v7h1zM11 9a7 7 0 0 0-7 7v7h16a7 7 0 0 0 7-7V9H11z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M24 5l3.5 3.5L24 12M7 20l-3.5 3.5L7 27"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-flip-x" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M32 32H0V0h32z"/>
|
||||||
|
<path fill="#8a8a8a" d="M17 32h-1V0h1zM27.167 11l.5 3h-1.03l-.546-3h1.076zm-.5-3h-1.122L25 5h-5V4h5.153a1 1 0 0 1 .986.836L26.667 8zm1.5 9l.5 3h-.94l-.545-3h.985zm1 6l.639 3.836A1 1 0 0 1 28.819 28H26v-1h3l-.726-4h.894zM23 28h-3v-1h3v1zM13 4v1H7L3 27h10v1H3.18a1 1 0 0 1-.986-1.164l3.666-22A1 1 0 0 1 6.847 4H13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-flip-y" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0v32h32V0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M0 16v1h32v-1zM11 27.167l3 .5v-1.03l-3-.546v1.076zm-3-.5v-1.122L5 25v-5H4v5.153a1 1 0 0 0 .836.986L8 26.667zm9 1.5l3 .5v-.94l-3-.545v.985zm6 1l3.836.639A1 1 0 0 0 28 28.82V26h-1v3l-4-.727v.894zM28 23v-3h-1v3h1zM4 13h1V7l22-4v10h1V3.18a1 1 0 0 0-1.164-.986l-22 3.667A1 1 0 0 0 4 6.847V13z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-flip" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M11 0h1v24h-1zM19 21v-1h2v-2h1v2a1 1 0 0 1-1 1h-2zm-2 0h-3v-1h3v1zm5-5h-1v-3h1v3zm0-5h-1V8h1v3zm0-5h-1V4h-2V3h2a1 1 0 0 1 1 1v2zm-5-3v1h-3V3h3zM9 3v1H2v16h7v1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-arrow-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M21.793 18.5H2.5v-5h18.935l-7.6-8h5.872l10.5 10.5-10.5 10.5h-5.914l8-8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-arrow-3" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M25.288 16.42L14.208 27.5H6.792l11.291-11.291L6.826 4.5h7.381l11.661 11.661-.58.258z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-arrow" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" d="M2.5 11.5v9h18v5.293L30.293 16 20.5 6.207V11.5h-18z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-bubble" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M22.207 24.5L16.5 30.207V24.5H8A6.5 6.5 0 0 1 1.5 18V9A6.5 6.5 0 0 1 8 2.5h16A6.5 6.5 0 0 1 30.5 9v9a6.5 6.5 0 0 1-6.5 6.5h-1.793z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-heart" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill-rule="nonzero" stroke="#8a8a8a" d="M15.996 30.675l1.981-1.79c7.898-7.177 10.365-9.718 12.135-13.012.922-1.716 1.377-3.37 1.377-5.076 0-4.65-3.647-8.297-8.297-8.297-2.33 0-4.86 1.527-6.817 3.824l-.38.447-.381-.447C13.658 4.027 11.126 2.5 8.797 2.5 4.147 2.5.5 6.147.5 10.797c0 1.714.46 3.375 1.389 5.098 1.775 3.288 4.26 5.843 12.123 12.974l1.984 1.806z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M17.314 18.867l1.951-2.53 4 5.184h-17l6.5-8.84 4.549 6.186z"/>
|
||||||
|
<path fill="#8a8a8a" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01z"/>
|
||||||
|
<path fill="#8a8a8a" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#8a8a8a" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-location" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g stroke="#8a8a8a">
|
||||||
|
<path d="M16 31.28C23.675 23.302 27.5 17.181 27.5 13c0-6.351-5.149-11.5-11.5-11.5S4.5 6.649 4.5 13c0 4.181 3.825 10.302 11.5 18.28z"/>
|
||||||
|
<circle cx="16" cy="13" r="4.5"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-polygon" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" d="M.576 16L8.29 29.5h15.42L31.424 16 23.71 2.5H8.29L.576 16z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-star-2" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" d="M19.446 31.592l2.265-3.272 3.946.25.636-3.94 3.665-1.505-1.12-3.832 2.655-2.962-2.656-2.962 1.12-3.832-3.664-1.505-.636-3.941-3.946.25-2.265-3.271L16 3.024 12.554 1.07 10.289 4.34l-3.946-.25-.636 3.941-3.665 1.505 1.12 3.832L.508 16.33l2.656 2.962-1.12 3.832 3.664 1.504.636 3.942 3.946-.25 2.265 3.27L16 29.638l3.446 1.955z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon-star" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" d="M25.292 29.878l-1.775-10.346 7.517-7.327-10.388-1.51L16 1.282l-4.646 9.413-10.388 1.51 7.517 7.327-1.775 10.346L16 24.993l9.292 4.885z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-icon" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M11.923 19.136L5.424 22l.715-7.065-4.731-5.296 6.94-1.503L11.923 2l3.574 6.136 6.94 1.503-4.731 5.296L18.42 22z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-mask-load" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M18.01 4a11.798 11.798 0 0 0 0 1H3v24h24V14.986a8.738 8.738 0 0 0 1 0V29a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h15.01zM15 23a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1a5 5 0 1 0 0-10 5 5 0 0 0 0 10z"/>
|
||||||
|
<path fill="#8a8a8a" d="M25 3h1v9h-1z"/>
|
||||||
|
<path stroke="#8a8a8a" d="M22 6l3.5-3.5L29 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-mask" viewBox="0 0 24 24">
|
||||||
|
<g fill="none">
|
||||||
|
<circle cx="12" cy="12" r="4.5" stroke="#8a8a8a"/>
|
||||||
|
<path fill="#8a8a8a" d="M2 1h20a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 1v20h20V2H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-redo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#8a8a8a" d="M21 6H9a6 6 0 1 0 0 12h12v1H9A7 7 0 0 1 9 5h12v1z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M19 3l2.5 2.5L19 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-reset" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z" opacity=".5"/>
|
||||||
|
<path fill="#8a8a8a" d="M2 13v-1a7 7 0 0 1 7-7h13v1h-1v5h1v1a7 7 0 0 1-7 7H2v-1h1v-5H2zm7-7a6 6 0 0 0-6 6v6h12a6 6 0 0 0 6-6V6H9z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M19 3l2.5 2.5L19 8M5 16l-2.5 2.5L5 21"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-rotate-clockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#8a8a8a" d="M29 17h-.924c0 6.627-5.373 12-12 12-6.628 0-12-5.373-12-12C4.076 10.398 9.407 5.041 16 5V4C8.82 4 3 9.82 3 17s5.82 13 13 13 13-5.82 13-13z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M16 1.5l4 3-4 3"/>
|
||||||
|
<path fill="#8a8a8a" fill-rule="nonzero" d="M16 4h4v1h-4z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-rotate-counterclockwise" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#8a8a8a" d="M3 17h.924c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.602-5.331-11.96-11.924-12V4c7.18 0 13 5.82 13 13s-5.82 13-13 13S3 24.18 3 17z"/>
|
||||||
|
<path fill="#8a8a8a" fill-rule="nonzero" d="M12 4h4v1h-4z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M16 1.5l-4 3 4 3"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-rotate" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h24v24H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M8.349 22.254a10.002 10.002 0 0 1-2.778-1.719l.65-.76a9.002 9.002 0 0 0 2.495 1.548l-.367.931zm2.873.704l.078-.997a9 9 0 1 0-.557-17.852l-.14-.99A10.076 10.076 0 0 1 12.145 3c5.523 0 10 4.477 10 10s-4.477 10-10 10c-.312 0-.62-.014-.924-.042zm-7.556-4.655a9.942 9.942 0 0 1-1.253-2.996l.973-.234a8.948 8.948 0 0 0 1.124 2.693l-.844.537zm-1.502-5.91A9.949 9.949 0 0 1 2.88 9.23l.925.382a8.954 8.954 0 0 0-.644 2.844l-.998-.062zm2.21-5.686c.687-.848 1.51-1.58 2.436-2.166l.523.852a9.048 9.048 0 0 0-2.188 1.95l-.771-.636z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M13 1l-2.5 2.5L13 6"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-shape-circle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<circle cx="16" cy="16" r="14.5" stroke="#8a8a8a"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-shape-rectangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<rect width="27" height="27" x="2.5" y="2.5" stroke="#8a8a8a" rx="1"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-shape-triangle" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M16 2.5l15.5 27H.5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-shape" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path fill="#8a8a8a" d="M14.706 8H21a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-4h1v4h12V9h-5.706l-.588-1z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="round" stroke-linejoin="round" d="M8.5 1.5l7.5 13H1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text-align-center" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M2 5h28v1H2zM8 12h16v1H8zM2 19h28v1H2zM8 26h16v1H8z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text-align-left" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M2 5h28v1H2zM2 12h16v1H2zM2 19h28v1H2zM2 26h16v1H2z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text-align-right" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M2 5h28v1H2zM14 12h16v1H14zM2 19h28v1H2zM14 26h16v1H14z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text-bold" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M7 2h2v2H7zM7 28h2v2H7z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-width="2" d="M9 3v12h9a6 6 0 1 0 0-12H9zM9 15v14h10a7 7 0 0 0 0-14H9z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text-italic" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M15 2h5v1h-5zM11 29h5v1h-5zM17 3h1l-4 26h-1z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text-underline" viewBox="0 0 32 32">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M0 0h32v32H0z"/>
|
||||||
|
<path fill="#8a8a8a" d="M8 2v14a8 8 0 1 0 16 0V2h1v14a9 9 0 0 1-18 0V2h1zM3 29h26v1H3z"/>
|
||||||
|
<path fill="#8a8a8a" d="M5 2h5v1H5zM22 2h5v1h-5z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-text" viewBox="0 0 24 24">
|
||||||
|
<g fill="#8a8a8a" fill-rule="evenodd">
|
||||||
|
<path d="M4 3h15a1 1 0 0 1 1 1H3a1 1 0 0 1 1-1zM3 4h1v1H3zM19 4h1v1h-1z"/>
|
||||||
|
<path d="M11 3h1v18h-1z"/>
|
||||||
|
<path d="M10 20h3v1h-3z"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-ic-undo" viewBox="0 0 24 24">
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M24 0H0v24h24z" opacity=".5"/>
|
||||||
|
<path fill="#8a8a8a" d="M3 6h12a6 6 0 1 1 0 12H3v1h12a7 7 0 0 0 0-14H3v1z"/>
|
||||||
|
<path stroke="#8a8a8a" stroke-linecap="square" d="M5 3L2.5 5.5 5 8"/>
|
||||||
|
</g>
|
||||||
|
</symbol><symbol id="icon-d-img-bi" viewBox="0 0 257 26">
|
||||||
|
<g fill="#FDBA3B">
|
||||||
|
<path d="M26 5a8.001 8.001 0 0 0 0 16 8.001 8.001 0 0 0 0-16M51.893 19.812L43.676 5.396A.78.78 0 0 0 43 5a.78.78 0 0 0-.677.396l-8.218 14.418a.787.787 0 0 0 0 .792c.14.244.396.394.676.394h16.436c.28 0 .539-.15.678-.396a.796.796 0 0 0-.002-.792M15.767 5.231A.79.79 0 0 0 15.21 5H.791A.791.791 0 0 0 0 5.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M85.767 5.231A.79.79 0 0 0 85.21 5H70.791a.791.791 0 0 0-.791.79v6.42a.793.793 0 0 0 .791.79h3.21v7.21c.001.21.082.408.234.56.147.148.347.23.558.23h6.416a.788.788 0 0 0 .792-.79V13h3.006c.413 0 .611-.082.762-.232.15-.149.23-.35.231-.559V5.791a.787.787 0 0 0-.233-.56M65.942 9.948l2.17-3.76a.78.78 0 0 0 0-.792.791.791 0 0 0-.684-.396h-8.54A5.889 5.889 0 0 0 53 10.86a5.887 5.887 0 0 0 3.07 5.17l-2.184 3.782A.792.792 0 0 0 54.571 21h8.54a5.89 5.89 0 0 0 2.831-11.052M105.7 21h2.3V5h-2.3zM91 5h2.4v10.286c0 1.893 1.612 3.429 3.6 3.429s3.6-1.536 3.6-3.429V5h2.4v10.286c0 3.156-2.686 5.714-6 5.714-3.313 0-6-2.558-6-5.714V5zM252.148 21.128h-2.377V9.659h2.27v1.64c.69-1.299 1.792-1.938 3.304-1.938.497 0 .95.065 1.382.192l-.215 2.277a3.734 3.734 0 0 0-1.275-.213c-1.814 0-3.089 1.234-3.089 3.638v5.873zm-7.095-5.744a3.734 3.734 0 0 0-1.101-2.703c-.714-.766-1.6-1.149-2.658-1.149-1.058 0-1.944.383-2.679 1.149a3.803 3.803 0 0 0-1.08 2.703c0 1.063.368 1.978 1.08 2.722.735.746 1.62 1.128 2.68 1.128 1.058 0 1.943-.382 2.657-1.128.734-.744 1.101-1.659 1.101-2.722zm-9.916 0c0-1.682.583-3.086 1.729-4.256 1.166-1.17 2.635-1.767 4.428-1.767 1.793 0 3.262.597 4.407 1.767 1.167 1.17 1.75 2.574 1.75 4.256 0 1.7-.583 3.127-1.75 4.297-1.145 1.17-2.614 1.745-4.407 1.745-1.793 0-3.262-.575-4.428-1.745-1.146-1.17-1.729-2.596-1.729-4.297zm-1.5 3.233l.821 1.83c-.864.638-1.944.958-3.22.958-2.526 0-3.822-1.554-3.822-4.383V11.66h-2.01v-2h2.031V5.595h2.355v4.063h4.018v2h-4.018v5.405c0 1.469.605 2.191 1.793 2.191.626 0 1.318-.212 2.052-.638zm-12.43 2.51h2.375V9.66h-2.376v11.469zm1.23-12.977c-.929 0-1.642-.682-1.642-1.596 0-.873.713-1.554 1.643-1.554.885 0 1.576.681 1.576 1.554 0 .914-.69 1.596-1.576 1.596zm-6.49 7.234c0-1.086-.346-1.98-1.037-2.724-.692-.745-1.599-1.128-2.7-1.128-1.102 0-2.01.383-2.7 1.128-.692.744-1.037 1.638-1.037 2.724 0 1.084.345 2.02 1.036 2.766.691.744 1.6 1.105 2.7 1.105 1.102 0 2.01-.361 2.7-1.105.692-.746 1.038-1.682 1.038-2.766zm-.173-4.129V5h2.397v16.128h-2.354v-1.596c-1.015 1.255-2.333 1.873-3.91 1.873-1.663 0-3.068-.575-4.169-1.724-1.102-1.17-1.663-2.596-1.663-4.297 0-1.682.561-3.107 1.663-4.256 1.101-1.17 2.485-1.745 4.148-1.745 1.534 0 2.83.617 3.888 1.872zm-11.48 9.873h-10.218V5.405h10.195v2.318h-7.711V12h7.15v2.32h-7.15v4.489h7.733v2.319zm-23.891-9.724c-1.793 0-3.132 1.192-3.478 2.979h6.783c-.194-1.808-1.555-2.979-3.305-2.979zm5.703 3.766c0 .32-.021.703-.086 1.128h-9.095c.346 1.787 1.62 3 3.867 3 1.318 0 2.916-.49 3.953-1.234l.994 1.724c-1.189.872-3.067 1.595-5.033 1.595-4.364 0-6.243-3-6.243-6.021 0-1.724.54-3.15 1.642-4.277 1.101-1.127 2.548-1.702 4.298-1.702 1.664 0 3.046.511 4.105 1.553 1.058 1.043 1.598 2.447 1.598 4.234zm-19.949 3.894c1.08 0 1.966-.362 2.68-1.085.712-.724 1.058-1.617 1.058-2.703 0-1.084-.346-2-1.059-2.701-.713-.702-1.599-1.064-2.679-1.064-1.058 0-1.944.362-2.656 1.085-.714.702-1.059 1.596-1.059 2.68 0 1.086.345 2 1.059 2.724.712.702 1.598 1.064 2.656 1.064zm3.673-7.936V9.66h2.29v10.299c0 1.85-.584 3.32-1.728 4.404-1.146 1.085-2.68 1.638-4.58 1.638-1.945 0-3.672-.553-5.206-1.638l1.037-1.808c1.296.915 2.679 1.36 4.126 1.36 2.484 0 3.996-1.51 3.996-3.637v-.83c-1.015 1.127-2.311 1.702-3.91 1.702-1.684 0-3.089-.554-4.19-1.68-1.102-1.128-1.642-2.532-1.642-4.214 0-1.68.561-3.085 1.706-4.191 1.145-1.128 2.571-1.681 4.234-1.681 1.534 0 2.83.575 3.867 1.745zm-18.07 8.127c1.102 0 1.988-.382 2.7-1.128.714-.744 1.06-1.659 1.06-2.743 0-1.065-.346-1.98-1.06-2.724-.712-.745-1.598-1.128-2.7-1.128-1.101 0-2.008.383-2.7 1.128-.691.744-1.036 1.66-1.036 2.745 0 1.084.345 2 1.037 2.745.691.744 1.598 1.105 2.7 1.105zm3.652-8V9.66h2.29v11.469h-2.29v-1.575c-1.059 1.234-2.399 1.852-3.976 1.852-1.663 0-3.067-.575-4.168-1.745-1.102-1.17-1.642-2.617-1.642-4.34 0-1.724.54-3.128 1.642-4.256 1.1-1.128 2.505-1.681 4.168-1.681 1.577 0 2.917.617 3.976 1.872zM138.79 9.34c1.404 0 2.527.448 3.37 1.34.863.873 1.295 2.086 1.295 3.596v6.852h-2.376V14.66c0-2.021-1.036-3.128-2.657-3.128-1.727 0-2.915 1.255-2.915 3.192v6.404h-2.377v-6.426c0-1.978-1.037-3.17-2.679-3.17-1.728 0-2.937 1.277-2.937 3.234v6.362h-2.377V9.659h2.333v1.66c.692-1.212 1.988-1.979 3.522-1.979 1.533.021 2.958.767 3.586 2.107.798-1.277 2.419-2.107 4.212-2.107zm-19.517 11.788h2.484V5.405h-2.484v15.723z"/>
|
||||||
|
</g>
|
||||||
|
</symbol></svg>
|
After Width: | Height: | Size: 19 KiB |
1
core/vendor/filemanager/svg/svg.svg
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs/></svg>
|
After Width: | Height: | Size: 232 B |
27
core/vendor/filemanager/upload.php
vendored
@ -8,7 +8,7 @@ try {
|
|||||||
include 'include/utils.php';
|
include 'include/utils.php';
|
||||||
|
|
||||||
if ($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager") {
|
if ($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager") {
|
||||||
response(trans('forbiden') . AddErrorLocation(), 403)->send();
|
response(trans('forbidden') . AddErrorLocation(), 403)->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ try {
|
|||||||
$fldr = rawurldecode(trim(strip_tags($_POST['fldr']), "/") . "/");
|
$fldr = rawurldecode(trim(strip_tags($_POST['fldr']), "/") . "/");
|
||||||
|
|
||||||
if (!checkRelativePath($fldr)) {
|
if (!checkRelativePath($fldr)) {
|
||||||
response(trans('wrong path').AddErrorLocation())->send();
|
response(trans('wrong path') . AddErrorLocation())->send();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ try {
|
|||||||
$urlPattern = '/^(https?:\/\/)?([\da-z\.-]+\.[a-z\.]{2,6}|[\d\.]+)([\/?=&#]{1}[\da-z\.-]+)*[\/\?]?$/i';
|
$urlPattern = '/^(https?:\/\/)?([\da-z\.-]+\.[a-z\.]{2,6}|[\d\.]+)([\/?=&#]{1}[\da-z\.-]+)*[\/\?]?$/i';
|
||||||
|
|
||||||
if (preg_match($urlPattern, $url)) {
|
if (preg_match($urlPattern, $url)) {
|
||||||
$temp = tempnam('/tmp', 'RF');
|
$temp = tempnam('/tmp','RF');
|
||||||
|
|
||||||
$ch = curl_init($url);
|
$ch = curl_init($url);
|
||||||
$fp = fopen($temp, 'wb');
|
$fp = fopen($temp, 'wb');
|
||||||
@ -118,8 +118,10 @@ try {
|
|||||||
}
|
}
|
||||||
$_FILES['files']['name'][0] = fix_filename($filename, $config);
|
$_FILES['files']['name'][0] = fix_filename($filename, $config);
|
||||||
|
|
||||||
|
if(!$_FILES['files']['type'][0]){
|
||||||
|
$_FILES['files']['type'][0] = $mime_type;
|
||||||
|
|
||||||
|
}
|
||||||
// LowerCase
|
// LowerCase
|
||||||
if ($config['lower_case']) {
|
if ($config['lower_case']) {
|
||||||
$_FILES['files']['name'][0] = fix_strtolower($_FILES['files']['name'][0]);
|
$_FILES['files']['name'][0] = fix_strtolower($_FILES['files']['name'][0]);
|
||||||
@ -146,15 +148,18 @@ try {
|
|||||||
'correct_image_extensions' => true,
|
'correct_image_extensions' => true,
|
||||||
'print_response' => false
|
'print_response' => false
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!$config['ext_blacklist']) {
|
if (!$config['ext_blacklist']) {
|
||||||
$uploadConfig['accept_file_types'] = '/\.(' . implode('|', $config['ext']) . ')$/i';
|
$uploadConfig['accept_file_types'] = '/\.(' . implode('|', $config['ext']) . ')$/i';
|
||||||
if($config['files_without_extension']){
|
|
||||||
$uploadConfig['accept_file_types'] = '/((\.(' . implode('|', $config['ext']) . ')$)|(^[^.]+$))$/i';
|
if ($config['files_without_extension']) {
|
||||||
|
$uploadConfig['accept_file_types'] = '/((\.(' . implode('|', $config['ext']) . ')$)|(^[^.]+$))$/i';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$uploadConfig['accept_file_types'] = '/\.(?!' . implode('|', $config['ext_blacklist']) . '$)/i';
|
$uploadConfig['accept_file_types'] = '/\.(?!' . implode('|', $config['ext_blacklist']) . '$)/i';
|
||||||
if($config['files_without_extension']){
|
|
||||||
$uploadConfig['accept_file_types'] = '/((\.(?!' . implode('|', $config['ext_blacklist']) . '$))|(^[^.]+$))/i';
|
if ($config['files_without_extension']) {
|
||||||
|
$uploadConfig['accept_file_types'] = '/((\.(?!' . implode('|', $config['ext_blacklist']) . '$))|(^[^.]+$))/i';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -162,15 +167,19 @@ try {
|
|||||||
if (!is_dir($config['ftp_temp_folder'])) {
|
if (!is_dir($config['ftp_temp_folder'])) {
|
||||||
mkdir($config['ftp_temp_folder'], $config['folderPermission'], true);
|
mkdir($config['ftp_temp_folder'], $config['folderPermission'], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_dir($config['ftp_temp_folder'] . "thumbs")) {
|
if (!is_dir($config['ftp_temp_folder'] . "thumbs")) {
|
||||||
mkdir($config['ftp_temp_folder'] . "thumbs", $config['folderPermission'], true);
|
mkdir($config['ftp_temp_folder'] . "thumbs", $config['folderPermission'], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$uploadConfig['upload_dir'] = $config['ftp_temp_folder'];
|
$uploadConfig['upload_dir'] = $config['ftp_temp_folder'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//print_r($_FILES);die();
|
||||||
$upload_handler = new UploadHandler($uploadConfig, true, $messages);
|
$upload_handler = new UploadHandler($uploadConfig, true, $messages);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$return = array();
|
$return = array();
|
||||||
|
|
||||||
if ($_FILES['files']) {
|
if ($_FILES['files']) {
|
||||||
foreach ($_FILES['files']['name'] as $i => $name) {
|
foreach ($_FILES['files']['name'] as $i => $name) {
|
||||||
$return[] = array(
|
$return[] = array(
|
||||||
@ -185,5 +194,5 @@ try {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo json_encode(array("error" =>$e->getMessage()));
|
echo json_encode(array("error" => $e->getMessage()));
|
||||||
}
|
}
|
||||||
|