Fixed problems with edit colecctions/plugins in pandora console.

This commit is contained in:
m-lopez-f 2016-10-20 13:41:37 +02:00
parent af3d8d8d24
commit 9db6a2d244
1 changed files with 1 additions and 1 deletions

View File

@ -755,7 +755,7 @@ function filemanager_file_explorer($real_directory, $relative_directory,
if (($editor) && (!$readOnly)) {
if (($typefile != 'bin') && ($typefile != 'pdf') && ($typefile != 'png') && ($typefile != 'jpg') &&
($typefile != 'iso') && ($typefile != 'docx') && ($typefile != 'doc')) {
$data[4] .= "<a style='vertical-align: top;' href='$url&edit_file=1&location_file=" . $fileinfo['realpath'] . "' style='float: left;'>" . html_print_image('images/edit.png', true, array("style" => 'margin-top: 2px;', 'title' => __('Edit file'))) . "</a>";
$data[4] .= "<a style='vertical-align: top;' href='$url&edit_file=1&location_file=" . $fileinfo['realpath'] . "&hash=" . md5($fileinfo['realpath'] . $config['dbpass']) . "' style='float: left;'>" . html_print_image('images/edit.png', true, array("style" => 'margin-top: 2px;', 'title' => __('Edit file'))) . "</a>";
}
}
}