hide search button and add placeholder

This commit is contained in:
quenousimporte 2024-10-05 11:59:26 +02:00
parent dc9f01ea48
commit 084c27653b
1 changed files with 2 additions and 2 deletions

View File

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