diff --git a/src/_h5ai/server/php/inc/App.php b/src/_h5ai/server/php/inc/App.php index f699a823..a7c8e2aa 100644 --- a/src/_h5ai/server/php/inc/App.php +++ b/src/_h5ai/server/php/inc/App.php @@ -209,11 +209,13 @@ class App { $html = ""; $html .= ""; if ($folder->get_parent($cache)) { - $html .= ""; + $html .= ""; } foreach ($items as $item) { + $type = $item->is_folder ? "folder" : "default"; + $html .= ""; - $html .= ""; + $html .= ""; $html .= ""; $html .= ""; $html .= "";
NameLast modifiedSize
app_abs_href . "client/icons/16x16/folder-parent.png\"/>Parent Directory
app_abs_href . "client/icons/16x16/folder-parent.png\" alt=\"folder-parent\"/>Parent Directory
app_abs_href . "client/icons/16x16/" . ($item->is_folder ? "folder" : "default") . ".png\"/>app_abs_href . "client/icons/16x16/" . $type . ".png\" alt=\"" . $type . "\"/>abs_href . "\">" . basename($item->abs_path) . "" . date("Y-m-d H:i", $item->date) . "" . ($item->size !== null ? intval($item->size / 1000) . " KB" : "" ) . "