drop autocomplete

This commit is contained in:
quenousimporte 2024-02-15 11:09:23 +01:00
parent 88e463dc74
commit a1202902be
1 changed files with 0 additions and 4 deletions

View File

@ -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>';
}
?>