restored Search.php

This commit is contained in:
Dark1
2023-05-19 01:06:22 +06:00
parent 7add9b7307
commit c79310deb4

View File

@@ -57,14 +57,14 @@ class Search extends DirectoryListDetailed
$out = '<form action="' . Url::html_output($_SERVER['PHP_SELF']) . '" method="get">'
. '<p><input type="hidden" name="dir" value="' . $subdir . '" />'
. '<input type="text" name="search" value="' . $search
. '" />&nbsp;&nbsp;<select name="search_mode">';
. '" /><br /><select name="search_mode">';
foreach ($modes as $word => $m)
{
$sel = (($m == $mode) ? ' selected="selected"' : '');
$out .= '<option value="' . $m . '"' . $sel . '>'
. $words -> __get($word) . '</option>';
}
$out .= '</select></p><p><input type="submit" class="button" value="'
$out .= '</select><input type="submit" class="button" value="'
. $words -> __get('search') . '" /></p></form>';
return $out;
}