hide search button and add placeholder
This commit is contained in:
parent
dc9f01ea48
commit
084c27653b
4
home.php
4
home.php
|
@ -1,11 +1,11 @@
|
|||
<form action="index.php" method="GET">
|
||||
<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="tags" value="tags" accesskey="t">
|
||||
<input type="submit" name="clip" value="clip" accesskey="c">
|
||||
<input type="submit" name="download" value="download" accesskey="d">
|
||||
<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>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue