Skip to content

Commit

Permalink
icon added
Browse files Browse the repository at this point in the history
  • Loading branch information
Muurtaja committed Feb 17, 2024
1 parent d3e8663 commit 64966f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ function displayFileExplorer($currentDir, $baseDir)

foreach ($listing['directories'] as $directory) {
$dirPath = $currentDir . '/' . $directory;
echo '<li class="list-group-item" oncontextmenu="showContextMenu(event, \'' . $dirPath . '\')"><a href="?dir=' . urlencode($dirPath) . '">' . htmlspecialchars($directory) . '</a></li>';
echo '<li class="list-group-item" oncontextmenu="showContextMenu(event, \'' . $dirPath . '\')"> &#128193; <a href="?dir=' . urlencode($dirPath) . '">' . htmlspecialchars($directory) . '</a></li>';
}

foreach ($listing['files'] as $file) {
echo '<li class="list-group-item" oncontextmenu="showContextMenu(event, \'' . $file . '\')">' . htmlspecialchars($file) . '</li>';
echo '<li class="list-group-item" oncontextmenu="showContextMenu(event, \'' . $file . '\')"> &#128462; ' . htmlspecialchars($file) . '</li>';
}

$CONTEXT_DOCUMENT_ROOT = $_SERVER["CONTEXT_DOCUMENT_ROOT"];
Expand Down

0 comments on commit 64966f9

Please sign in to comment.