diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index 1f3549c319..41d8b5a318 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -487,6 +487,10 @@ function filemanager_file_explorer( $allowCreateText = (isset($options['all']) === true) || ((isset($options['allowCreateText']) === true) && ($options['allowCreateText'] === true)); $allowCreateFolder = (isset($options['allowCreateFolder'])) ? false : true; + if ($options['denyCreateText'] === true) { + $allowCreateText = false; + } + if ($homedir_filemanager === false) { $homedir_filemanager = $config['homedir']; } @@ -820,8 +824,9 @@ function filemanager_file_explorer( if ($readOnly === false) { if (is_writable($real_directory) === true) { // The buttons to make actions. + $tabs_dialog = '