visual fix

This commit is contained in:
alejandro.campos@artica.es 2024-02-28 11:15:42 +01:00
parent 8f84df6aca
commit 935e41fe08
1 changed files with 1 additions and 8 deletions

View File

@ -805,7 +805,7 @@ function filemanager_file_explorer(
// Actions buttons
// Delete button.
$data[4] = '<div class="table_action_buttons flex">';
$data[4] = '<div class="table_action_buttons flex flex-end">';
$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] .= '</a>';
}
if (is_writable($fileinfo['realpath']) === true
&& (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3)
&& ($readOnly === false)
) {
$data[4] .= '<a href="javascript: show_modal_real_path(`'.$fileinfo['realpath'].'`);">'.html_print_image('images/enable.svg', true, ['style' => 'margin-top: 2px;', 'title' => __('Real path'), 'class' => 'invert_filter main_menu_icon']).'</a>';
}
$data[4] .= '</div>';
array_push($table->data, $data);