drop open by name

This commit is contained in:
quenousimporte 2024-10-07 09:08:38 +02:00
parent 959a68a4bb
commit 84baa60a2b
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<form action="index.php" method="GET">
<div>
<input hidden type="submit" name="search" value="search" accesskey="s">
<input type="submit" name="open" value="open" accesskey="o">
<input type="submit" name="new" value="new" accesskey="o">
<input type="submit" name="download" value="download" accesskey="d">
<br>
<input placeholder="search..." autofocus autocomplete="off" class="title" name="param" value="<?php if (!isset($_GET['home']) && !isset($_POST['home'])) echo $param; ?>">

View File

@ -178,6 +178,10 @@
$nextpage = 'note';
$title = $_GET['param'];
}
else if (isset($_GET['new']))
{
$nextpage = 'note';
}
?>
<!DOCTYPE html>