Skip to content

Commit

Permalink
Replaced Filemanager with Rich Filemanager (feature #806)
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Aug 23, 2019
1 parent 32c028c commit b51375b
Show file tree
Hide file tree
Showing 2,812 changed files with 562,999 additions and 127,417 deletions.
9 changes: 2 additions & 7 deletions language/english.php
Expand Up @@ -199,7 +199,8 @@
'ctl' => 'Clear Cache',
'ok' => 'OK',
'filemanager' => 'File Manager',
'error_invalid_password' => 'Error, invalid password for username'
'error_invalid_password' => 'Error, invalid password for username',
'error_filemanager_disabled' => 'Filemanager is disabled'
);

###############################################################################
Expand Down Expand Up @@ -2484,14 +2485,8 @@
'filemanager_logger' => 'Enable logger?',
'filemanager_show_thumbs' => 'Show thumbnails?',
'filemanager_generate_thumbnails' => 'Generate thumbnails?',
'filemanager_upload_restrictions' => 'Allowed file extensions',
'filemanager_upload_overwrite' => 'Overwrite existing file?',
'filemanager_upload_images_only' => 'Upload images only?',
'filemanager_upload_file_size_limit' => 'Upload file size limit (MiB)',
'filemanager_unallowed_files' => 'Unallowed files',
'filemanager_unallowed_dirs' => 'Unallowed directories',
'filemanager_unallowed_files_regexp' => 'Regular expression for unallowed files',
'filemanager_unallowed_dirs_regexp' => 'Regular expression for unallowed directories',
'filemanager_images_ext' => 'Image file extensions',
'filemanager_show_video_player' => 'Show video player?',
'filemanager_videos_ext' => 'Video file extensions',
Expand Down
9 changes: 2 additions & 7 deletions language/english_utf-8.php
Expand Up @@ -199,7 +199,8 @@
'ctl' => 'Clear Cache',
'ok' => 'OK',
'filemanager' => 'File Manager',
'error_invalid_password' => 'Error, invalid password for username'
'error_invalid_password' => 'Error, invalid password for username',
'error_filemanager_disabled' => 'Filemanager is disabled'
);

###############################################################################
Expand Down Expand Up @@ -2484,14 +2485,8 @@
'filemanager_logger' => 'Enable logger?',
'filemanager_show_thumbs' => 'Show thumbnails?',
'filemanager_generate_thumbnails' => 'Generate thumbnails?',
'filemanager_upload_restrictions' => 'Allowed file extensions',
'filemanager_upload_overwrite' => 'Overwrite existing file?',
'filemanager_upload_images_only' => 'Upload images only?',
'filemanager_upload_file_size_limit' => 'Upload file size limit (MiB)',
'filemanager_unallowed_files' => 'Unallowed files',
'filemanager_unallowed_dirs' => 'Unallowed directories',
'filemanager_unallowed_files_regexp' => 'Regular expression for unallowed files',
'filemanager_unallowed_dirs_regexp' => 'Regular expression for unallowed directories',
'filemanager_images_ext' => 'Image file extensions',
'filemanager_show_video_player' => 'Show video player?',
'filemanager_videos_ext' => 'Video file extensions',
Expand Down
9 changes: 2 additions & 7 deletions language/japanese_utf-8.php
Expand Up @@ -207,7 +207,8 @@
'ctl' => 'キャッシュ一括削除',
'ok' => 'OK',
'filemanager' => 'ファイルマネージャー',
'error_invalid_password' => 'エラー: パスワードが無効です'
'error_invalid_password' => 'エラー: パスワードが無効です',
'error_filemanager_disabled' => 'ファイルマネージャーは無効にされています。'
);

###############################################################################
Expand Down Expand Up @@ -2482,14 +2483,8 @@
'filemanager_logger' => 'ロガーを有効にする',
'filemanager_show_thumbs' => 'サムネイル画像を表示する',
'filemanager_generate_thumbnails' => 'サムネイル画像を作成する',
'filemanager_upload_restrictions' => '許可するファイル拡張子',
'filemanager_upload_overwrite' => '既存のファイルを上書きする',
'filemanager_upload_images_only' => '画像ファイルだけをアップロードする',
'filemanager_upload_file_size_limit' => 'アップロードするファイルサイズの上限',
'filemanager_unallowed_files' => '表示しないファイル名',
'filemanager_unallowed_dirs' => '表示しないディレクトリ',
'filemanager_unallowed_files_regexp' => '表示しないファイル名の正規表現',
'filemanager_unallowed_dirs_regexp' => '表示しないディレクトリ名の正規表現',
'filemanager_images_ext' => '画像ファイルの拡張子',
'filemanager_show_video_player' => '動画プレーヤーを表示する',
'filemanager_videos_ext' => '動画ファイルの拡張子',
Expand Down
16 changes: 2 additions & 14 deletions public_html/admin/install/config-install.php
Expand Up @@ -530,9 +530,9 @@ function install_config(ConfigInterface $c)
$so += 10;
$c->add('filemanager_file_sorting', 'default', 'select', $sg, $fs, 35, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_chars_only_latin', TRUE, 'select', $sg, $fs, 1, $so, TRUE, $me, $tab);
$c->add('filemanager_chars_only_latin', false, 'select', $sg, $fs, 1, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_date_format', 'Y-m-d H:i:s', 'text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$c->add('filemanager_date_format', 'yMMMdHm', 'text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_logger', FALSE, 'select', $sg, $fs, 1, $so, TRUE, $me, $tab);
$so += 10;
Expand All @@ -548,22 +548,10 @@ function install_config(ConfigInterface $c)
$c->add('tab_filemanager_upload', NULL, 'tab', $sg, $fs, NULL, 0, TRUE, $me, $tab);
$c->add('fs_filemanager_upload', NULL, 'fieldset', $sg, $fs, NULL, 0, TRUE, $me, $tab);

$c->add('filemanager_upload_restrictions', array('jpg', 'jpeg', 'gif', 'png', 'svg', 'txt', 'pdf', 'odp', 'ods', 'odt', 'rtf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'ogv', 'mp4', 'webm', 'ogg', 'mp3', 'wav'), '%text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_upload_overwrite', FALSE, 'select', $sg, $fs, 1, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_upload_images_only', FALSE, 'select', $sg, $fs, 1, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_upload_file_size_limit', 16, 'text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_unallowed_files', array('.htaccess'), '%text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_unallowed_dirs', array('_thumbs', '.CDN_ACCESS_LOGS', 'cloudservers'), '%text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_unallowed_files_regexp', '/^\\./uis', 'text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;
$c->add('filemanager_unallowed_dirs_regexp', '/^\\./uis', 'text', $sg, $fs, NULL, $so, TRUE, $me, $tab);
$so += 10;

// Subgroup: File Manager - Images
$fs++;
Expand Down

0 comments on commit b51375b

Please sign in to comment.