server/templates/part.searchbox.php

4 lines
No EOL
234 B
PHP

<form class='searchbox' action='<?php echo $_['searchurl']?>' method='post'>
<input name='query' value='<?php if(isset($_POST['query'])){echo $_POST['query'];};?>'/>
<input type='submit' value='Search' class='prettybutton'/>
</form>