From 935e41fe086318442ce95b875117c79310e3176d Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Wed, 28 Feb 2024 11:15:42 +0100 Subject: [PATCH] visual fix --- pandora_console/include/functions_filemanager.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index a68c06c702..7d9db9299a 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -805,7 +805,7 @@ function filemanager_file_explorer( // Actions buttons // Delete button. - $data[4] = '
'; + $data[4] = '
'; $typefile = array_pop(explode('.', $fileinfo['name'])); if (is_writable($fileinfo['realpath']) === true && (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3) @@ -858,13 +858,6 @@ function filemanager_file_explorer( $data[4] .= ''; } - if (is_writable($fileinfo['realpath']) === true - && (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3) - && ($readOnly === false) - ) { - $data[4] .= ''.html_print_image('images/enable.svg', true, ['style' => 'margin-top: 2px;', 'title' => __('Real path'), 'class' => 'invert_filter main_menu_icon']).''; - } - $data[4] .= '
'; array_push($table->data, $data);