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