Update search results.

This commit is contained in:
Darren 'Tadgy' Austin 2025-10-06 17:57:29 +01:00
commit 4649d5b546
2 changed files with 3 additions and 2 deletions

View file

@ -84,7 +84,7 @@
$type = strtok ($result_line, " ");
$entry = strtok ("\0");
if ($type == "f" || $type == "l" || $type == "o") {
print ('&bull; <a href="' . $entry . '" title="View $entry">' . $entry . '</a><br>');
print ('&bull; <a href="' . $entry . '" title="View $entry">' . $entry . '</a>&nbsp;(<a href="' . dirname($entry) . '" title="Visit containing directory">Visit containing directory</a>)<br>');
$count++;
} elseif ($type == "d") {
print ('&bull; <a href="' . $entry . '" title="Directory ' . $entry . '">' . $entry . '</a>&nbsp;(<a href="/search?l=' . $_GET["l"] . '&p=' . urlencode ($entry) . '&q=' . urlencode ($_GET["q"]) . '" title="Repeat search in this directory">Repeat search in this directory</a>)<br>');