nextcloud/templates/part.searchbox.php

4 lines
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>