drop autocomplete
This commit is contained in:
parent
88e463dc74
commit
a1202902be
|
@ -100,18 +100,14 @@
|
|||
return filemtime($b) - filemtime($a);
|
||||
});
|
||||
|
||||
$autocomplete = '<datalist id="notes">';
|
||||
foreach($files as $path)
|
||||
{
|
||||
$name = basename($path);
|
||||
if (!str_ends_with($name, '.del'))
|
||||
{
|
||||
$autocomplete .= '<option value="' . $name . '">';
|
||||
echo '<div><a href=index.php?open=' . urlencode($name) . '>' . $name .'</a></div>';
|
||||
}
|
||||
}
|
||||
$autocomplete .= '</datalist>';
|
||||
echo $autocomplete;
|
||||
echo '<br>';
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue